Module style::values::generics::calc

source ·
Expand description

Re-exports

Macros

Structs

  • Expected units we allow parsing within a calc() expression.

Enums

  • The level of any argument being serialized in to_css_impl.
  • A generic node in a calc expression.
  • Whether we’re a min or max function.
  • Whether we’re a mod or rem function.
  • For percentage resolution, sometimes we can’t assume that the percentage basis is positive (so we don’t know whether a percentage is larger than another).
  • The strategy used in round()
  • This determines the order in which we serialize members of a calc() sum.

Traits

  • A trait that represents all the stuff a valid leaf of a calc expression.