Skip to main content

RepeatLineWidth

Type Alias RepeatLineWidth 

Source
pub type RepeatLineWidth<'a> = RepeatFunction<NonEmpty<Vec<'a, LineWidth<'a>>>, AutoOr<PositiveNonZeroInt>>;
Expand description

https://drafts.csswg.org/css-gaps-1/#typedef-repeat-line-width

<repeat-line-width>        = repeat( [ <integer [1,∞]> ] , [ <line-width> ]+ )
<auto-repeat-line-width>   = repeat( auto , [ <line-width> ]+ )

Aliased Type§

#[repr(C)]
pub struct RepeatLineWidth<'a> { pub name: Function, pub count: AutoOr<PositiveNonZeroInt>, pub comma: Comma, pub items: NonEmpty<Vec<'a, LineWidth<'a>>>, pub close: RightParen, }

Fields§

§name: Function§count: AutoOr<PositiveNonZeroInt>§comma: Comma§items: NonEmpty<Vec<'a, LineWidth<'a>>>§close: RightParen