pub(crate) type GridLine = GenericGridLine<i32>;Expand description
The computed value of a <grid-line>.
Aliased Type§
#[repr(C)]pub(crate) struct GridLine {
pub ident: CustomIdent,
pub line_num: i32,
pub is_span: bool,
}Fields§
§ident: CustomIdentA custom identifier for named lines, or the empty atom otherwise.
line_num: i32Denotes the nth grid line from grid item’s placement.
This is clamped by MIN_GRID_LINE and MAX_GRID_LINE.
NOTE(emilio): If we ever allow animating these we need to either do something more complicated for the clamping, or do this clamping at used-value time.
is_span: boolFlag to check whether it’s a span keyword.