Expand description
Specified percentages.
Structs§
- NoCalc
Percentage - A percentage value, where [0 .. 100%] maps to [0.0 .. 1.0]
- Percentage
- A specified percentage value, either a plain value or a
calc()expression.
Traits§
- ToPercentage
- Turns the percentage into a plain float.
Type Aliases§
- NonNegative
Percentage - A wrapper of Percentage, whose value must be >= 0.