pub enum BaseUnit {
Show 13 variants
METER,
SECOND,
KILOGRAM,
AMPERE,
KELVIN,
MOLE,
CANDELA,
RADIAN,
STERADIAN,
CURRENCY,
INHABITANT,
BIRTH,
DEATH,
}
Expand description
An enum representing the seven units of the International System of Units
Variants§
Trait Implementations§
impl Copy for BaseUnit
impl Eq for BaseUnit
impl StructuralPartialEq for BaseUnit
Auto Trait Implementations§
impl Freeze for BaseUnit
impl RefUnwindSafe for BaseUnit
impl Send for BaseUnit
impl Sync for BaseUnit
impl Unpin for BaseUnit
impl UnwindSafe for BaseUnit
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