Module values

Source
Expand description

Helper types and traits for the handling of CSS values.

Modules§

specified
Helper types for the handling of specified values.

Macros§

impl_to_css_for_predefined_type 🔒

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.
CommaWithSpace
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.
SequenceWriter
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§

OneOrMoreSeparated
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.