Struct metfor::Celsius [−][src]
pub struct Celsius(pub f64);
Expand description
Temperature in Celsius units.
Implementations
Trait Implementations
Performs the +=
operation. Read more
Performs the /=
operation. Read more
Performs the conversion.
Performs the *=
operation. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Unwrap the value from the new type and check for validity, panic if contents are invalid.
Convert into an option that is None
if the content is invalid.
Test whether these two values are close
Auto Trait Implementations
impl RefUnwindSafe for Celsius
impl UnwindSafe for Celsius
Blanket Implementations
Mutably borrows from an owned value. Read more