Struct simple_units::si_units::DegC
[−]
[src]
pub struct DegC(pub f64);
Trait Implementations
impl Debug for DegC
[src]
impl Clone for DegC
[src]
fn clone(&self) -> DegC
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for DegC
[src]
impl PartialEq for DegC
[src]
fn eq(self: &DegC, DegC: &DegC) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Add for DegC
[src]
type Output = DegC
The resulting type after applying the +
operator
fn add(self: DegC, DegC: DegC) -> DegC
The method for the +
operator
impl Sub for DegC
[src]
type Output = DegC
The resulting type after applying the -
operator
fn sub(self: DegC, DegC: DegC) -> DegC
The method for the -
operator
impl Mul<f64> for DegC
[src]
type Output = DegC
The resulting type after applying the *
operator
fn mul(self: DegC, rhs: f64) -> DegC
The method for the *
operator
impl Div<f64> for DegC
[src]
type Output = DegC
The resulting type after applying the /
operator
fn div(self: DegC, rhs: f64) -> DegC
The method for the /
operator
impl Div<DegC> for DegC
[src]
type Output = f64
The resulting type after applying the /
operator
fn div(self: DegC, DegC: DegC) -> f64
The method for the /
operator
impl Mul<PerDegC> for DegC
[src]
type Output = f64
The resulting type after applying the *
operator
fn mul(self: DegC, PerDegC: PerDegC) -> f64
The method for the *
operator
impl Div<Second> for DegC
[src]
type Output = DegCPerSecond
The resulting type after applying the /
operator
fn div(self: DegC, Second: Second) -> DegCPerSecond
The method for the /
operator
impl Div<DegCPerSecond> for DegC
[src]
type Output = Second
The resulting type after applying the /
operator
fn div(self: DegC, DegCPerSecond: DegCPerSecond) -> Second
The method for the /
operator
impl From<Kelvin> for DegC
[src]
impl From<Fahrenheit> for DegC
[src]
fn from(Fahrenheit: Fahrenheit) -> Self
Performs the conversion.