Type Alias taffy::style::grid::OriginZeroGridPlacement
source · pub(crate) type OriginZeroGridPlacement = GenericGridPlacement<OriginZeroLine>;
Expand description
A grid line placement using the normalized OriginZero coordinates to specify line positions.
Aliased Type§
enum OriginZeroGridPlacement {
Auto,
Line(OriginZeroLine),
Span(u16),
}
Variants§
Auto
Place item according to the auto-placement algorithm, and the parent’s grid_auto_flow property
Line(OriginZeroLine)
Place item at specified line (column or row) index
Span(u16)
Item should span specified number of tracks (columns or rows)