pub enum SiUnit {
Metre,
Second,
Kilogram,
Ampere,
Kelvin,
Mole,
Candela,
}Expand description
Si units enum
Variants§
Trait Implementations§
impl Copy for SiUnit
impl Eq for SiUnit
Source§impl Ord for SiUnit
impl Ord for SiUnit
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 PartialOrd for SiUnit
impl PartialOrd for SiUnit
impl StructuralPartialEq for SiUnit
Auto Trait Implementations§
impl Freeze for SiUnit
impl RefUnwindSafe for SiUnit
impl Send for SiUnit
impl Sync for SiUnit
impl Unpin for SiUnit
impl UnsafeUnpin for SiUnit
impl UnwindSafe for SiUnit
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