pub enum Units {
Show 34 variants
Gram,
Meter,
SquareMeter,
CubicMeter,
MeterPerSecond,
MeterPerSecondPerSecond,
Second,
Mole,
Ampere,
Kelvin,
Candela,
Newton,
Joule,
Katal,
Coulomb,
Celsius,
Lux,
Lumen,
Farad,
Weber,
Watt,
Pascal,
Gray,
Becquerel,
Henry,
Volt,
Ohm,
Steradian,
Radian,
Siemens,
Tesla,
Hertz,
Sievert,
Other {
name: &'static str,
symbol: &'static str,
},
}
Variants§
Gram
Meter
SquareMeter
CubicMeter
MeterPerSecond
MeterPerSecondPerSecond
Second
Mole
Ampere
Kelvin
Candela
Newton
Joule
Katal
Coulomb
Celsius
Lux
Lumen
Farad
Weber
Watt
Pascal
Gray
Becquerel
Henry
Volt
Ohm
Steradian
Radian
Siemens
Tesla
Hertz
Sievert
Other
Implementations§
Trait Implementations§
impl Copy for Units
impl Eq for Units
impl StructuralPartialEq for Units
Auto Trait Implementations§
impl Freeze for Units
impl RefUnwindSafe for Units
impl Send for Units
impl Sync for Units
impl Unpin for Units
impl UnwindSafe for Units
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