Type Alias lay_rs::prelude::taffy::style::NonRepeatedTrackSizingFunction
pub type NonRepeatedTrackSizingFunction = MinMax<MinTrackSizingFunction, MaxTrackSizingFunction>;
Expand description
The sizing function for a grid track (row/column) (either auto-track or template track) May either be a MinMax variant which specifies separate values for the min-/max- track sizing functions or a scalar value which applies to both track sizing functions.
Aliased Type§
struct NonRepeatedTrackSizingFunction {
pub min: MinTrackSizingFunction,
pub max: MaxTrackSizingFunction,
}
Fields§
§min: MinTrackSizingFunction
The value representing the minimum
max: MaxTrackSizingFunction
The value representing the maximum