Module style_traits::values
source · Expand description
Helper types and traits for the handling of CSS values.
Modules§
- Helper types for the handling of specified values.
Macros§
Structs§
- 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. - 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. - A writer tailored for serialising CSS.
- Convenience wrapper to serialise CSS values separated by a given string.
- 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§
- Marker trait on T to automatically implement ToCss for Vec
when T’s are separated by some delimiter delim
. - A trait satisfied by the types corresponding to separators.
- Serialises a value according to its CSS representation.