pub enum PressureUnitLabel {
Hectopascal,
Millibar,
Unknown,
Custom(String),
}Expand description
Simple atmospheric pressure unit labels for the stored f64 values.
Variants§
Hectopascal
Hectopascals.
Millibar
Millibars.
Unknown
Unknown unit label.
Custom(String)
Caller-defined unit label.
Trait Implementations§
Source§impl Clone for PressureUnitLabel
impl Clone for PressureUnitLabel
Source§fn clone(&self) -> PressureUnitLabel
fn clone(&self) -> PressureUnitLabel
Returns a duplicate 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 PressureUnitLabel
impl Debug for PressureUnitLabel
Source§impl Display for PressureUnitLabel
impl Display for PressureUnitLabel
Source§impl FromStr for PressureUnitLabel
impl FromStr for PressureUnitLabel
Source§impl Hash for PressureUnitLabel
impl Hash for PressureUnitLabel
Source§impl Ord for PressureUnitLabel
impl Ord for PressureUnitLabel
Source§fn cmp(&self, other: &PressureUnitLabel) -> Ordering
fn cmp(&self, other: &PressureUnitLabel) -> Ordering
1.21.0 · 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
Source§impl PartialEq for PressureUnitLabel
impl PartialEq for PressureUnitLabel
Source§impl PartialOrd for PressureUnitLabel
impl PartialOrd for PressureUnitLabel
impl Eq for PressureUnitLabel
impl StructuralPartialEq for PressureUnitLabel
Auto Trait Implementations§
impl Freeze for PressureUnitLabel
impl RefUnwindSafe for PressureUnitLabel
impl Send for PressureUnitLabel
impl Sync for PressureUnitLabel
impl Unpin for PressureUnitLabel
impl UnsafeUnpin for PressureUnitLabel
impl UnwindSafe for PressureUnitLabel
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