Expand description
Re-exports§
pub use self::GenericCalcNode as CalcNode;
Macros§
Structs§
- Calc
Units - Expected units we allow parsing within a
calc()expression.
Enums§
- Argument
Level 🔒 - The level of any argument being serialized in
to_css_impl. - Generic
Calc Node - A generic node in a calc expression.
- MinMax
Op - Whether we’re a
minormaxfunction. - ModRem
Op - Whether we’re a
modorremfunction. - Positive
Percentage Basis - 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).
- Rounding
Strategy - The strategy used in
round() - SortKey
- This determines the order in which we serialize members of a calc() sum.
Traits§
- Calc
Node Leaf - A trait that represents all the stuff a valid leaf of a calc expression.
Type Aliases§
- Generic
Calc Anchor Function anchor()function used in math functions.- Generic
Calc Anchor Size Function anchor-size()function used in math functions.