Enum sixtyfps_compilerlib::expression_tree::Unit [−][src]
pub enum Unit {}Show variants
None, Percent, Phx, Px, Cm, Mm, In, Pt, S, Ms, Deg, Grad, Turn, Rad,
Expand description
The units that can be used after numbers in the language
Variants
No unit was given
Physical pixels
Logical pixels
Centimeters
Millimeters
inches
Points
Seconds
Milliseconds
Degree
Gradians
Turns
Radians
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Unit
impl UnwindSafe for Unit
Blanket Implementations
Mutably borrows from an owned value. Read more