#[repr(u32)]pub enum UnitTemperatureType {
Intake = 0,
Exhaust = 1,
Board = 2,
}Variants§
Trait Implementations§
Source§impl Clone for UnitTemperatureType
impl Clone for UnitTemperatureType
Source§fn clone(&self) -> UnitTemperatureType
fn clone(&self) -> UnitTemperatureType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UnitTemperatureType
impl Debug for UnitTemperatureType
Source§impl From<UnitTemperatureType> for u32
impl From<UnitTemperatureType> for u32
Source§fn from(enum_value: UnitTemperatureType) -> Self
fn from(enum_value: UnitTemperatureType) -> Self
Converts to this type from the input type.
Source§impl Hash for UnitTemperatureType
impl Hash for UnitTemperatureType
Source§impl PartialEq for UnitTemperatureType
impl PartialEq for UnitTemperatureType
Source§fn eq(&self, other: &UnitTemperatureType) -> bool
fn eq(&self, other: &UnitTemperatureType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<u32> for UnitTemperatureType
impl TryFrom<u32> for UnitTemperatureType
Source§type Error = TryFromPrimitiveError<UnitTemperatureType>
type Error = TryFromPrimitiveError<UnitTemperatureType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for UnitTemperatureType
impl TryFromPrimitive for UnitTemperatureType
const NAME: &'static str = "UnitTemperatureType"
type Primitive = u32
type Error = TryFromPrimitiveError<UnitTemperatureType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for UnitTemperatureType
impl Eq for UnitTemperatureType
impl StructuralPartialEq for UnitTemperatureType
Auto Trait Implementations§
impl Freeze for UnitTemperatureType
impl RefUnwindSafe for UnitTemperatureType
impl Send for UnitTemperatureType
impl Sync for UnitTemperatureType
impl Unpin for UnitTemperatureType
impl UnsafeUnpin for UnitTemperatureType
impl UnwindSafe for UnitTemperatureType
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