Expand description
Helper types and traits for the handling of CSS values.
Modules§
- specified
- Helper types for the handling of specified values.
Macros§
Structs§
- Comma
- Type used as the associated type in the
OneOrMoreSeparated
trait on a type to indicate that a serialized list of elements of this type is separated by commas. - Comma
With Space - Type used as the associated type in the
OneOrMoreSeparated
trait on a type to indicate that a serialized list of elements of this type is separated by commas, but spaces without commas are also allowed when parsing. - CssWriter
- A writer tailored for serialising CSS.
- Sequence
Writer - Convenience wrapper to serialise CSS values separated by a given string.
- Space
- Type used as the associated type in the
OneOrMoreSeparated
trait on a type to indicate that a serialized list of elements of this type is separated by spaces.
Traits§
- OneOr
More Separated - Marker trait on T to automatically implement ToCss for Vec
when T’s are separated by some delimiter delim
. - Separator
- A trait satisfied by the types corresponding to separators.
- ToCss
- Serialises a value according to its CSS representation.