pub struct Celsius(pub f32);
Expand description
The degrees Celsius temperature unit.
Tuple Fields§
§0: f32
Trait Implementations§
Source§impl From<Celsius> for Fahrenheit
impl From<Celsius> for Fahrenheit
Source§impl From<Fahrenheit> for Celsius
impl From<Fahrenheit> for Celsius
Source§fn from(value: Fahrenheit) -> Self
fn from(value: Fahrenheit) -> Self
Converts to this type from the input type.
Source§impl TemperatureUnit for Celsius
impl TemperatureUnit for Celsius
impl Copy for Celsius
Auto Trait Implementations§
impl Freeze for Celsius
impl RefUnwindSafe for Celsius
impl Send for Celsius
impl Sync for Celsius
impl Unpin for Celsius
impl UnwindSafe for Celsius
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more