pub enum LinearUnit {
Metre,
Centimetre,
}Expand description
Known target linear unit.
Variants§
Trait Implementations§
Source§impl Clone for LinearUnit
impl Clone for LinearUnit
Source§fn clone(&self) -> LinearUnit
fn clone(&self) -> LinearUnit
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 LinearUnit
Source§impl Debug for LinearUnit
impl Debug for LinearUnit
impl Eq for LinearUnit
Source§impl Ord for LinearUnit
impl Ord for LinearUnit
Source§fn cmp(&self, other: &LinearUnit) -> Ordering
fn cmp(&self, other: &LinearUnit) -> 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for LinearUnit
impl PartialEq for LinearUnit
Source§impl PartialOrd for LinearUnit
impl PartialOrd for LinearUnit
impl StructuralPartialEq for LinearUnit
Auto Trait Implementations§
impl Freeze for LinearUnit
impl RefUnwindSafe for LinearUnit
impl Send for LinearUnit
impl Sync for LinearUnit
impl Unpin for LinearUnit
impl UnsafeUnpin for LinearUnit
impl UnwindSafe for LinearUnit
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