Enum svgdom::types::LengthUnit
[−]
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 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
impl Copy for LengthUnit
impl Debug for LengthUnit
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.