Struct metfor::Decameters
source · pub struct Decameters(pub f64);
Expand description
Length in decameters, usually used for geopotential height.
Tuple Fields
0: f64
Trait Implementations
sourceimpl<T> Add<T> for Decameterswhere
Decameters: From<T> + Quantity,
T: Quantity,
impl<T> Add<T> for Decameterswhere
Decameters: From<T> + Quantity,
T: Quantity,
sourceimpl<T> AddAssign<T> for Decameterswhere
Decameters: From<T> + Quantity,
T: Quantity,
impl<T> AddAssign<T> for Decameterswhere
Decameters: From<T> + Quantity,
T: Quantity,
sourcefn add_assign(&mut self, rhs: T)
fn add_assign(&mut self, rhs: T)
Performs the
+=
operation. Read moresourceimpl Borrow<f64> for Decameters
impl Borrow<f64> for Decameters
sourceimpl Clone for Decameters
impl Clone for Decameters
sourcefn clone(&self) -> Decameters
fn clone(&self) -> Decameters
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Decameters
impl Debug for Decameters
sourceimpl Display for Decameters
impl Display for Decameters
sourceimpl<T> Div<T> for Decameterswhere
Decameters: From<T> + Quantity,
T: Quantity,
impl<T> Div<T> for Decameterswhere
Decameters: From<T> + Quantity,
T: Quantity,
sourceimpl From<Cm> for Decameters
impl From<Cm> for Decameters
sourceimpl From<Decameters> for Cm
impl From<Decameters> for Cm
sourcefn from(h: Decameters) -> Self
fn from(h: Decameters) -> Self
Converts to this type from the input type.
sourceimpl From<Decameters> for Feet
impl From<Decameters> for Feet
sourcefn from(h: Decameters) -> Self
fn from(h: Decameters) -> Self
Converts to this type from the input type.
sourceimpl 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<Decameters> for Km
impl From<Decameters> for Km
sourcefn from(h: Decameters) -> Self
fn from(h: Decameters) -> Self
Converts to this type from the input type.
sourceimpl From<Decameters> for Meters
impl From<Decameters> for Meters
sourcefn from(h: Decameters) -> Self
fn from(h: Decameters) -> Self
Converts to this type from the input type.
sourceimpl From<Decameters> for Mm
impl From<Decameters> for Mm
sourcefn from(h: Decameters) -> Self
fn from(h: Decameters) -> Self
Converts to this type from the input type.
sourceimpl From<Feet> for Decameters
impl From<Feet> for Decameters
sourceimpl From<Inches> for Decameters
impl From<Inches> for Decameters
sourceimpl From<Km> for Decameters
impl From<Km> for Decameters
sourceimpl From<Meters> for Decameters
impl From<Meters> for Decameters
sourceimpl From<Mm> for Decameters
impl From<Mm> for Decameters
sourceimpl Mul<f64> for Decameters
impl Mul<f64> for Decameters
sourceimpl MulAssign<f64> for Decameters
impl MulAssign<f64> for Decameters
sourcefn mul_assign(&mut self, rhs: f64)
fn mul_assign(&mut self, rhs: f64)
Performs the
*=
operation. Read moresourceimpl<T> PartialEq<T> for Decameterswhere
Decameters: From<T> + Quantity,
T: Quantity,
impl<T> PartialEq<T> for Decameterswhere
Decameters: From<T> + Quantity,
T: Quantity,
sourceimpl<T> PartialOrd<T> for Decameterswhere
Decameters: From<T> + Quantity,
T: Quantity,
impl<T> PartialOrd<T> for Decameterswhere
Decameters: 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 Decameters
impl Quantity for Decameters
sourceimpl<T> Sub<T> for Decameterswhere
Decameters: From<T> + Quantity,
T: Quantity,
impl<T> Sub<T> for Decameterswhere
Decameters: From<T> + Quantity,
T: Quantity,
sourceimpl<T> SubAssign<T> for Decameterswhere
Decameters: From<T> + Quantity,
T: Quantity,
impl<T> SubAssign<T> for Decameterswhere
Decameters: 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 Decameters
impl Length for Decameters
Auto Trait Implementations
impl RefUnwindSafe for Decameters
impl Send for Decameters
impl Sync for Decameters
impl Unpin for Decameters
impl UnwindSafe for Decameters
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