Expand description
Define some utility functions for quickly doing things.
Modules§
- buffer
- Defines the buffer containing the CSS generated.
- color
- Define some color manipulation functions.
- shadow
- Shadow parsing utility functions.
- spacing
- Spacing utility functions.
- value_
matchers - Define some utility functions used to detect the CSS type of a CSS value.
Structs§
- Split
Ignore Arbitrary - An iterator ignoring values wrapped in parenthesis and brackets.
Traits§
- Pattern
- While https://github.com/rust-lang/rust/issues/27721 is pending we need to define
our own minimal
Patterntrait.
Functions§
- check_
selectors - Return the list of errors encountered when parsing a list of selectors
- format_
negative - Quickly format a negative value (returns “-” if true or “” otherwise).
- sort_
selectors - Sort a list of selectors (separated by spaces) according to
encre-cssrules. - split_
ignore_ arbitrary - Split a value while avoiding arbitrary values/variants (wrapped in brackets) from being split.