Struct metfor::StatuteMiles [−][src]
pub struct StatuteMiles(pub f64);
Expand description
Length in statute miles, usually used for visibility.
Implementations
Find the maximum for two values
Find the minimum for two values
Trait Implementations
Performs the +=
operation. Read more
Performs the /=
operation. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the *=
operation. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Unwrap the value from the new type and check for validity, panic if contents are invalid.
Convert into an option that is None
if the content is invalid.
Test whether these two values are close
Performs the -=
operation. Read more
Auto Trait Implementations
impl RefUnwindSafe for StatuteMiles
impl Send for StatuteMiles
impl Sync for StatuteMiles
impl Unpin for StatuteMiles
impl UnwindSafe for StatuteMiles
Blanket Implementations
Mutably borrows from an owned value. Read more