Struct metfor::HectoPascal
source · pub struct HectoPascal(pub f64);
Expand description
Pressure in hPa units.
Tuple Fields
0: f64
Trait Implementations
sourceimpl<T> Add<T> for HectoPascalwhere
HectoPascal: From<T> + Quantity,
T: Quantity,
impl<T> Add<T> for HectoPascalwhere
HectoPascal: From<T> + Quantity,
T: Quantity,
sourceimpl<T> AddAssign<T> for HectoPascalwhere
HectoPascal: From<T> + Quantity,
T: Quantity,
impl<T> AddAssign<T> for HectoPascalwhere
HectoPascal: 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 HectoPascal
impl Borrow<f64> for HectoPascal
sourceimpl Clone for HectoPascal
impl Clone for HectoPascal
sourcefn clone(&self) -> HectoPascal
fn clone(&self) -> HectoPascal
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 HectoPascal
impl Debug for HectoPascal
sourceimpl Display for HectoPascal
impl Display for HectoPascal
sourceimpl<T> Div<T> for HectoPascalwhere
HectoPascal: From<T> + Quantity,
T: Quantity,
impl<T> Div<T> for HectoPascalwhere
HectoPascal: From<T> + Quantity,
T: Quantity,
sourceimpl From<HectoPascal> for Millibar
impl From<HectoPascal> for Millibar
sourcefn from(hpa: HectoPascal) -> Self
fn from(hpa: HectoPascal) -> Self
Converts to this type from the input type.
sourceimpl From<Millibar> for HectoPascal
impl From<Millibar> for HectoPascal
sourceimpl Mul<f64> for HectoPascal
impl Mul<f64> for HectoPascal
sourceimpl MulAssign<f64> for HectoPascal
impl MulAssign<f64> for HectoPascal
sourcefn mul_assign(&mut self, rhs: f64)
fn mul_assign(&mut self, rhs: f64)
Performs the
*=
operation. Read moresourceimpl<T> PartialEq<T> for HectoPascalwhere
HectoPascal: From<T> + Quantity,
T: Quantity,
impl<T> PartialEq<T> for HectoPascalwhere
HectoPascal: From<T> + Quantity,
T: Quantity,
sourceimpl<T> PartialOrd<T> for HectoPascalwhere
HectoPascal: From<T> + Quantity,
T: Quantity,
impl<T> PartialOrd<T> for HectoPascalwhere
HectoPascal: 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 HectoPascal
impl Quantity for HectoPascal
sourceimpl<T> Sub<T> for HectoPascalwhere
HectoPascal: From<T> + Quantity,
T: Quantity,
impl<T> Sub<T> for HectoPascalwhere
HectoPascal: From<T> + Quantity,
T: Quantity,
sourceimpl<T> SubAssign<T> for HectoPascalwhere
HectoPascal: From<T> + Quantity,
T: Quantity,
impl<T> SubAssign<T> for HectoPascalwhere
HectoPascal: 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 HectoPascal
impl Pressure for HectoPascal
Auto Trait Implementations
impl RefUnwindSafe for HectoPascal
impl Send for HectoPascal
impl Sync for HectoPascal
impl Unpin for HectoPascal
impl UnwindSafe for HectoPascal
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