Expand description
The Parse trait for CSS properties, and utilities for parsers.
Structs§
- Comma
Separated List - List separated by optional commas, with bounds for the required and maximum number of items.
- Custom
Ident - CSS Custom identifier.
- NonNegative
- Non-Negative number
- Number
Optional Number - CSS number-optional-number
- Number
OrPercentage - CSS number-percentage
Traits§
- Parse
- Trait to parse values using
cssparser::Parser. - Parse
Value
Functions§
- finite_
f32 - Parses an
f32and ensures that it is not an infinity or NaN. - optional_
comma - Consumes a comma if it exists, or does nothing.