Enum lyon_svg::parser::LengthUnit
[−]
[src]
pub enum LengthUnit { None, Em, Ex, Px, In, Cm, Mm, Pt, Pc, Percent, }
List of all SVG length units.
Variants
None
Em
Ex
Px
In
Cm
Mm
Pt
Pc
Percent
Trait Implementations
impl Copy for LengthUnit
impl PartialEq<LengthUnit> for LengthUnit
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) -> bool
1.0.0
This method tests for !=
.
impl Debug for LengthUnit
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for LengthUnit
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