pub enum LengthUnitEnum {
Km,
M,
Cm,
Mi,
Ft,
In,
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for LengthUnitEnum
impl Clone for LengthUnitEnum
Source§fn clone(&self) -> LengthUnitEnum
fn clone(&self) -> LengthUnitEnum
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LengthUnitEnum
Source§impl Debug for LengthUnitEnum
impl Debug for LengthUnitEnum
Source§impl Default for LengthUnitEnum
impl Default for LengthUnitEnum
Source§fn default() -> LengthUnitEnum
fn default() -> LengthUnitEnum
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LengthUnitEnum
impl<'de> Deserialize<'de> for LengthUnitEnum
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LengthUnitEnum
Source§impl Hash for LengthUnitEnum
impl Hash for LengthUnitEnum
Source§impl Ord for LengthUnitEnum
impl Ord for LengthUnitEnum
Source§fn cmp(&self, other: &LengthUnitEnum) -> Ordering
fn cmp(&self, other: &LengthUnitEnum) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LengthUnitEnum
impl PartialEq for LengthUnitEnum
Source§fn eq(&self, other: &LengthUnitEnum) -> bool
fn eq(&self, other: &LengthUnitEnum) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LengthUnitEnum
impl PartialOrd for LengthUnitEnum
Source§impl Serialize for LengthUnitEnum
impl Serialize for LengthUnitEnum
impl StructuralPartialEq for LengthUnitEnum
Auto Trait Implementations§
impl Freeze for LengthUnitEnum
impl RefUnwindSafe for LengthUnitEnum
impl Send for LengthUnitEnum
impl Sync for LengthUnitEnum
impl Unpin for LengthUnitEnum
impl UnsafeUnpin for LengthUnitEnum
impl UnwindSafe for LengthUnitEnum
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