pub enum UnitFamily {
None,
Temperature,
Energy,
VolumeFlow,
Pressure,
Volume,
Time,
Power,
}
Expand description
One of the unit families supported by the VSF1 specification.
Variants§
None
Not associated with a unit family.
Temperature
Temperature
Energy
Energy
VolumeFlow
Volume flow
Pressure
Pressure
Volume
Volume
Time
Time
Power
Power
Trait Implementations§
Source§impl Clone for UnitFamily
impl Clone for UnitFamily
Source§fn clone(&self) -> UnitFamily
fn clone(&self) -> UnitFamily
Returns a copy 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 UnitFamily
impl Debug for UnitFamily
Source§impl PartialEq for UnitFamily
impl PartialEq for UnitFamily
impl Copy for UnitFamily
impl StructuralPartialEq for UnitFamily
Auto Trait Implementations§
impl Freeze for UnitFamily
impl RefUnwindSafe for UnitFamily
impl Send for UnitFamily
impl Sync for UnitFamily
impl Unpin for UnitFamily
impl UnwindSafe for UnitFamily
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