Enum style::values::specified::calc::CalcUnit
[−]
[src]
pub enum CalcUnit {
Number,
Integer,
Length,
Percentage,
LengthOrPercentage,
Angle,
Time,
}An expected unit we intend to parse within a calc() expression.
This is used as a hint for the parser to fast-reject invalid expressions.
Variants
Number<number>
Integer<integer>
Length<length>
Percentage<percentage>
LengthOrPercentage<length> | <percentage>
Angle<angle>
Time<time>
Trait Implementations
impl Clone for CalcUnit[src]
fn clone(&self) -> CalcUnit[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more