#[repr(u8)]pub enum TempUnitEnum {
Fahrenheit = 0,
Celsius = 1,
Kelvin = 2,
}Expand description
TempUnitEnum.
Variants§
Fahrenheit = 0
Temperature conveyed in Fahrenheit
Celsius = 1
Temperature conveyed in Celsius
Kelvin = 2
Temperature conveyed in Kelvin
Implementations§
Source§impl TempUnitEnum
impl TempUnitEnum
Trait Implementations§
Source§impl Clone for TempUnitEnum
impl Clone for TempUnitEnum
impl Copy for TempUnitEnum
Source§impl Debug for TempUnitEnum
impl Debug for TempUnitEnum
impl Eq for TempUnitEnum
Source§impl<'a> FromTlv<'a> for TempUnitEnum
impl<'a> FromTlv<'a> for TempUnitEnum
Source§impl Hash for TempUnitEnum
impl Hash for TempUnitEnum
Source§impl Ord for TempUnitEnum
impl Ord for TempUnitEnum
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TempUnitEnum
impl PartialEq for TempUnitEnum
Source§impl PartialOrd for TempUnitEnum
impl PartialOrd for TempUnitEnum
impl StructuralPartialEq for TempUnitEnum
Auto Trait Implementations§
impl Forget for TempUnitEnum
impl Freeze for TempUnitEnum
impl Move for TempUnitEnum
impl RefUnwindSafe for TempUnitEnum
impl Send for TempUnitEnum
impl Sync for TempUnitEnum
impl Unpin for TempUnitEnum
impl UnsafeUnpin for TempUnitEnum
impl UnwindSafe for TempUnitEnum
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