pub enum LengthUnit {
Rem,
Em,
Ex,
}Variants§
Trait Implementations§
Source§impl Clone for LengthUnit
impl Clone for LengthUnit
Source§fn clone(&self) -> LengthUnit
fn clone(&self) -> LengthUnit
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LengthUnit
impl Debug for LengthUnit
Source§impl<'_derivative_strum> From<&'_derivative_strum LengthUnit> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum LengthUnit> for &'static str
Source§fn from(x: &'_derivative_strum LengthUnit) -> &'static str
fn from(x: &'_derivative_strum LengthUnit) -> &'static str
Converts to this type from the input type.
Source§impl From<LengthUnit> for &'static str
impl From<LengthUnit> for &'static str
Source§fn from(x: LengthUnit) -> &'static str
fn from(x: LengthUnit) -> &'static str
Converts to this type from the input type.
Source§impl PartialEq for LengthUnit
impl PartialEq for LengthUnit
impl Copy for LengthUnit
impl StructuralPartialEq for LengthUnit
Auto Trait Implementations§
impl Freeze for LengthUnit
impl RefUnwindSafe for LengthUnit
impl Send for LengthUnit
impl Sync for LengthUnit
impl Unpin for LengthUnit
impl UnwindSafe for LengthUnit
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more