pub struct Fahrenheit(pub f32);
Expand description
The degrees Fahrenheit temperature unit.
Tuple Fields§
§0: f32
Trait Implementations§
Source§impl Clone for Fahrenheit
impl Clone for Fahrenheit
Source§fn clone(&self) -> Fahrenheit
fn clone(&self) -> Fahrenheit
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Fahrenheit
impl Debug for Fahrenheit
Source§impl Default for Fahrenheit
impl Default for Fahrenheit
Source§fn default() -> Fahrenheit
fn default() -> Fahrenheit
Returns the “default value” for a type. Read more
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 PartialEq for Fahrenheit
impl PartialEq for Fahrenheit
Source§impl TemperatureUnit for Fahrenheit
impl TemperatureUnit for Fahrenheit
impl Copy for Fahrenheit
Auto Trait Implementations§
impl Freeze for Fahrenheit
impl RefUnwindSafe for Fahrenheit
impl Send for Fahrenheit
impl Sync for Fahrenheit
impl Unpin for Fahrenheit
impl UnwindSafe for Fahrenheit
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