pub struct Mm(pub f64);Expand description
Length in millimeters, usually used for precipitation depth or precipitable water.
Tuple Fields§
§0: f64Implementations§
Trait Implementations§
Source§impl<T> AddAssign<T> for Mm
impl<T> AddAssign<T> for Mm
Source§fn add_assign(&mut self, rhs: T)
fn add_assign(&mut self, rhs: T)
Performs the
+= operation. Read moreSource§impl DivAssign<f64> for Mm
impl DivAssign<f64> for Mm
Source§fn div_assign(&mut self, rhs: f64)
fn div_assign(&mut self, rhs: f64)
Performs the
/= operation. Read moreSource§impl From<Decameters> for Mm
impl From<Decameters> for Mm
Source§fn from(v: Decameters) -> Self
fn from(v: Decameters) -> Self
Converts to this type from the input type.
Source§impl From<Mm> for Decameters
impl From<Mm> for Decameters
Source§impl From<Mm> for StatuteMiles
impl From<Mm> for StatuteMiles
Source§impl From<StatuteMiles> for Mm
impl From<StatuteMiles> for Mm
Source§fn from(v: StatuteMiles) -> Self
fn from(v: StatuteMiles) -> Self
Converts to this type from the input type.
Source§impl MulAssign<f64> for Mm
impl MulAssign<f64> for Mm
Source§fn mul_assign(&mut self, rhs: f64)
fn mul_assign(&mut self, rhs: f64)
Performs the
*= operation. Read moreSource§impl<T> PartialOrd<T> for Mm
impl<T> PartialOrd<T> for Mm
Source§impl Quantity for Mm
impl Quantity for Mm
Source§fn unwrap(self) -> f64
fn unwrap(self) -> f64
Unwrap the value from the new type and check for validity, panic if contents are invalid.
Source§fn into_option(self) -> Option<f64>
fn into_option(self) -> Option<f64>
Convert into an option that is
None if the content is invalid.Source§impl<T> SubAssign<T> for Mm
impl<T> SubAssign<T> for Mm
Source§fn sub_assign(&mut self, rhs: T)
fn sub_assign(&mut self, rhs: T)
Performs the
-= operation. Read moreimpl Copy for Mm
impl Length for Mm
Auto Trait Implementations§
impl Freeze for Mm
impl RefUnwindSafe for Mm
impl Send for Mm
impl Sync for Mm
impl Unpin for Mm
impl UnwindSafe for Mm
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