Enum svgdom::LengthUnit
source · pub enum LengthUnit {
None,
Em,
Ex,
Px,
In,
Cm,
Mm,
Pt,
Pc,
Percent,
}
Expand description
List of all SVG length units.
Variants
Trait Implementations
sourceimpl Clone for LengthUnit
impl Clone for LengthUnit
sourcefn clone(&self) -> LengthUnit
fn clone(&self) -> LengthUnit
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LengthUnit
impl Debug for LengthUnit
sourceimpl PartialEq<LengthUnit> for LengthUnit
impl PartialEq<LengthUnit> for LengthUnit
sourcefn eq(&self, other: &LengthUnit) -> bool
fn eq(&self, other: &LengthUnit) -> bool
impl Copy for LengthUnit
impl StructuralPartialEq for LengthUnit
Auto Trait Implementations
impl RefUnwindSafe for LengthUnit
impl Send for LengthUnit
impl Sync for LengthUnit
impl Unpin for LengthUnit
impl UnwindSafe for LengthUnit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more