Enum PressureTendency
pub enum PressureTendency {
Rising,
Falling,
Steady,
Unknown,
Custom(String),
}Expand description
Stable atmospheric pressure tendency vocabulary.
Variants§
Rising
Rising pressure.
Falling
Falling pressure.
Steady
Steady pressure.
Unknown
Unknown tendency.
Custom(String)
Caller-defined tendency text.
Trait Implementations§
§impl Clone for PressureTendency
impl Clone for PressureTendency
§fn clone(&self) -> PressureTendency
fn clone(&self) -> PressureTendency
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 more§impl Debug for PressureTendency
impl Debug for PressureTendency
§impl Display for PressureTendency
impl Display for PressureTendency
§impl FromStr for PressureTendency
impl FromStr for PressureTendency
§type Err = PressureTendencyParseError
type Err = PressureTendencyParseError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<PressureTendency, <PressureTendency as FromStr>::Err>
fn from_str( value: &str, ) -> Result<PressureTendency, <PressureTendency as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for PressureTendency
impl Hash for PressureTendency
§impl Ord for PressureTendency
impl Ord for PressureTendency
§fn cmp(&self, other: &PressureTendency) -> Ordering
fn cmp(&self, other: &PressureTendency) -> 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
§impl PartialEq for PressureTendency
impl PartialEq for PressureTendency
§impl PartialOrd for PressureTendency
impl PartialOrd for PressureTendency
impl Eq for PressureTendency
impl StructuralPartialEq for PressureTendency
Auto Trait Implementations§
impl Freeze for PressureTendency
impl RefUnwindSafe for PressureTendency
impl Send for PressureTendency
impl Sync for PressureTendency
impl Unpin for PressureTendency
impl UnsafeUnpin for PressureTendency
impl UnwindSafe for PressureTendency
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