pub enum UnitOfLength {
Cm,
}Expand description
UnitOfLength : The unit of measurement used to measure the length. The unit of measurement used to measure the length.
Variants§
Cm
Trait Implementations§
Source§impl Clone for UnitOfLength
impl Clone for UnitOfLength
Source§fn clone(&self) -> UnitOfLength
fn clone(&self) -> UnitOfLength
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 UnitOfLength
impl Debug for UnitOfLength
Source§impl Default for UnitOfLength
impl Default for UnitOfLength
Source§fn default() -> UnitOfLength
fn default() -> UnitOfLength
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnitOfLength
impl<'de> Deserialize<'de> for UnitOfLength
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
Source§impl Display for UnitOfLength
impl Display for UnitOfLength
Source§impl Hash for UnitOfLength
impl Hash for UnitOfLength
Source§impl Ord for UnitOfLength
impl Ord for UnitOfLength
Source§fn cmp(&self, other: &UnitOfLength) -> Ordering
fn cmp(&self, other: &UnitOfLength) -> Ordering
1.21.0 · 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 UnitOfLength
impl PartialEq for UnitOfLength
Source§impl PartialOrd for UnitOfLength
impl PartialOrd for UnitOfLength
Source§impl Serialize for UnitOfLength
impl Serialize for UnitOfLength
impl Copy for UnitOfLength
impl Eq for UnitOfLength
impl StructuralPartialEq for UnitOfLength
Auto Trait Implementations§
impl Freeze for UnitOfLength
impl RefUnwindSafe for UnitOfLength
impl Send for UnitOfLength
impl Sync for UnitOfLength
impl Unpin for UnitOfLength
impl UnsafeUnpin for UnitOfLength
impl UnwindSafe for UnitOfLength
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.