pub enum InteractionStrength {
Weak,
Moderate,
Strong,
Unknown,
Custom(String),
}Variants§
Trait Implementations§
Source§impl Clone for InteractionStrength
impl Clone for InteractionStrength
Source§fn clone(&self) -> InteractionStrength
fn clone(&self) -> InteractionStrength
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 InteractionStrength
impl Debug for InteractionStrength
Source§impl Display for InteractionStrength
impl Display for InteractionStrength
Source§impl FromStr for InteractionStrength
impl FromStr for InteractionStrength
Source§type Err = InteractionStrengthParseError
type Err = InteractionStrengthParseError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<InteractionStrength, <InteractionStrength as FromStr>::Err>
fn from_str( value: &str, ) -> Result<InteractionStrength, <InteractionStrength as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for InteractionStrength
impl Hash for InteractionStrength
Source§impl Ord for InteractionStrength
impl Ord for InteractionStrength
Source§fn cmp(&self, other: &InteractionStrength) -> Ordering
fn cmp(&self, other: &InteractionStrength) -> 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 InteractionStrength
impl PartialEq for InteractionStrength
Source§impl PartialOrd for InteractionStrength
impl PartialOrd for InteractionStrength
impl Eq for InteractionStrength
impl StructuralPartialEq for InteractionStrength
Auto Trait Implementations§
impl Freeze for InteractionStrength
impl RefUnwindSafe for InteractionStrength
impl Send for InteractionStrength
impl Sync for InteractionStrength
impl Unpin for InteractionStrength
impl UnsafeUnpin for InteractionStrength
impl UnwindSafe for InteractionStrength
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