pub struct Inches(pub f64);
Expand description
Length in inches, usually used for precipitation depth or precipitable water.
Tuple Fields
0: f64
Trait Implementations
sourceimpl<T> AddAssign<T> for Incheswhere
Inches: From<T> + Quantity,
T: Quantity,
impl<T> AddAssign<T> for Incheswhere
Inches: From<T> + Quantity,
T: Quantity,
sourcefn add_assign(&mut self, rhs: T)
fn add_assign(&mut self, rhs: T)
Performs the
+=
operation. Read moresourceimpl From<Decameters> for Inches
impl From<Decameters> for Inches
sourcefn from(h: Decameters) -> Self
fn from(h: Decameters) -> Self
Converts to this type from the input type.
sourceimpl From<Inches> for Decameters
impl From<Inches> for Decameters
sourceimpl MulAssign<f64> for Inches
impl MulAssign<f64> for Inches
sourcefn mul_assign(&mut self, rhs: f64)
fn mul_assign(&mut self, rhs: f64)
Performs the
*=
operation. Read moresourceimpl<T> PartialEq<T> for Incheswhere
Inches: From<T> + Quantity,
T: Quantity,
impl<T> PartialEq<T> for Incheswhere
Inches: From<T> + Quantity,
T: Quantity,
sourceimpl<T> PartialOrd<T> for Incheswhere
Inches: From<T> + Quantity,
T: Quantity,
impl<T> PartialOrd<T> for Incheswhere
Inches: From<T> + Quantity,
T: Quantity,
sourcefn partial_cmp(&self, other: &T) -> Option<Ordering>
fn partial_cmp(&self, other: &T) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl Quantity for Inches
impl Quantity for Inches
sourceimpl<T> SubAssign<T> for Incheswhere
Inches: From<T> + Quantity,
T: Quantity,
impl<T> SubAssign<T> for Incheswhere
Inches: From<T> + Quantity,
T: Quantity,
sourcefn sub_assign(&mut self, rhs: T)
fn sub_assign(&mut self, rhs: T)
Performs the
-=
operation. Read moreimpl Copy for Inches
impl Length for Inches
Auto Trait Implementations
impl RefUnwindSafe for Inches
impl Send for Inches
impl Sync for Inches
impl Unpin for Inches
impl UnwindSafe for Inches
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more