Skip to main content

TrackRepeat

Type Alias TrackRepeat 

Source
pub type TrackRepeat<'a> = RepeatFunction<NamedRepeatItems<'a, TrackSize<'a>>>;
Expand description

https://drafts.csswg.org/css-grid-2/#typedef-track-repeat

<track-repeat> = repeat( [ <integer [1,∞]> ] , [ <line-names>? <track-size> ]+ <line-names>? )

Aliased Type§

#[repr(C)]
pub struct TrackRepeat<'a> { pub name: Function, pub count: PositiveNonZeroInt, pub comma: Comma, pub items: NamedRepeatItems<'a, TrackSize<'a>>, pub close: RightParen, }

Fields§

§name: Function§count: PositiveNonZeroInt§comma: Comma§items: NamedRepeatItems<'a, TrackSize<'a>>§close: RightParen