Enum svgparser::LengthUnit
[−]
[src]
pub enum LengthUnit {
None,
Em,
Ex,
Px,
In,
Cm,
Mm,
Pt,
Pc,
Percent,
}List of all SVG length units.
Variants
NoneEmExPxInCmMmPtPcPercentTrait Implementations
impl PartialEq for LengthUnit[src]
fn eq(&self, __arg_0: &LengthUnit) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Debug for LengthUnit[src]
impl Copy for LengthUnit[src]
impl Clone for LengthUnit[src]
fn clone(&self) -> LengthUnit
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more