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