Enum FrontStrength
pub enum FrontStrength {
Weak,
Moderate,
Strong,
Severe,
Unknown,
Custom(String),
}Expand description
Stable weather-front strength vocabulary.
Variants§
Weak
Weak front.
Moderate
Moderate front.
Strong
Strong front.
Severe
Severe front.
Unknown
Unknown front strength.
Custom(String)
Caller-defined strength.
Trait Implementations§
§impl Clone for FrontStrength
impl Clone for FrontStrength
§fn clone(&self) -> FrontStrength
fn clone(&self) -> FrontStrength
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 FrontStrength
impl Debug for FrontStrength
§impl Display for FrontStrength
impl Display for FrontStrength
§impl FromStr for FrontStrength
impl FromStr for FrontStrength
§type Err = FrontStrengthParseError
type Err = FrontStrengthParseError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<FrontStrength, <FrontStrength as FromStr>::Err>
fn from_str( value: &str, ) -> Result<FrontStrength, <FrontStrength as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for FrontStrength
impl Hash for FrontStrength
§impl Ord for FrontStrength
impl Ord for FrontStrength
§impl PartialEq for FrontStrength
impl PartialEq for FrontStrength
§impl PartialOrd for FrontStrength
impl PartialOrd for FrontStrength
impl Eq for FrontStrength
impl StructuralPartialEq for FrontStrength
Auto Trait Implementations§
impl Freeze for FrontStrength
impl RefUnwindSafe for FrontStrength
impl Send for FrontStrength
impl Sync for FrontStrength
impl Unpin for FrontStrength
impl UnsafeUnpin for FrontStrength
impl UnwindSafe for FrontStrength
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