#[repr(u8)]pub enum Thermostat {
Comparator = 0,
Interrupt = 1,
}Expand description
Thermostat mode
Variants§
Trait Implementations§
Source§impl Clone for Thermostat
impl Clone for Thermostat
Source§fn clone(&self) -> Thermostat
fn clone(&self) -> Thermostat
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 moreimpl Copy for Thermostat
Source§impl Debug for Thermostat
impl Debug for Thermostat
impl Eq for Thermostat
Source§impl From<Thermostat> for u8
impl From<Thermostat> for u8
Source§fn from(val: Thermostat) -> Self
fn from(val: Thermostat) -> Self
Converts to this type from the input type.
Source§impl Hash for Thermostat
impl Hash for Thermostat
Source§impl PartialEq for Thermostat
impl PartialEq for Thermostat
Source§fn eq(&self, other: &Thermostat) -> bool
fn eq(&self, other: &Thermostat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Thermostat
Auto Trait Implementations§
impl Freeze for Thermostat
impl RefUnwindSafe for Thermostat
impl Send for Thermostat
impl Sync for Thermostat
impl Unpin for Thermostat
impl UnsafeUnpin for Thermostat
impl UnwindSafe for Thermostat
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