Module lightningcss::traits

source ·
Expand description

Traits for parsing and serializing CSS.

Traits

  • A trait to provide parsing of custom at-rules.
  • A trait for values that can be mapped by applying a function.
  • A trait for values that support binary operations.
  • Trait for things that can be parsed from CSS syntax.
  • Trait for things that can be parsed from CSS syntax and require ParserOptions.
  • A trait for values that can return a sign.
  • Trait for things the can serialize themselves in CSS syntax.
  • A trait for values that can potentially be mapped.
  • A trait for values that potentially support a binary operation (e.g. if they have the same unit).
  • A trait for values that can potentially return a sign.
  • A trait for values that can be zero.