#[repr(u8)]pub enum Pwrdnswtch {
ON = 0,
OFF = 1,
}Variants§
Implementations§
Source§impl Pwrdnswtch
impl Pwrdnswtch
Trait Implementations§
Source§impl Clone for Pwrdnswtch
impl Clone for Pwrdnswtch
Source§fn clone(&self) -> Pwrdnswtch
fn clone(&self) -> Pwrdnswtch
Returns a copy 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 Pwrdnswtch
impl Debug for Pwrdnswtch
Source§impl From<Pwrdnswtch> for u8
impl From<Pwrdnswtch> for u8
Source§fn from(val: Pwrdnswtch) -> u8
fn from(val: Pwrdnswtch) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Pwrdnswtch
impl From<u8> for Pwrdnswtch
Source§fn from(val: u8) -> Pwrdnswtch
fn from(val: u8) -> Pwrdnswtch
Converts to this type from the input type.
Source§impl Ord for Pwrdnswtch
impl Ord for Pwrdnswtch
Source§fn cmp(&self, other: &Pwrdnswtch) -> Ordering
fn cmp(&self, other: &Pwrdnswtch) -> Ordering
1.21.0 · 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
Source§impl PartialEq for Pwrdnswtch
impl PartialEq for Pwrdnswtch
Source§impl PartialOrd for Pwrdnswtch
impl PartialOrd for Pwrdnswtch
impl Copy for Pwrdnswtch
impl Eq for Pwrdnswtch
impl StructuralPartialEq for Pwrdnswtch
Auto Trait Implementations§
impl Freeze for Pwrdnswtch
impl RefUnwindSafe for Pwrdnswtch
impl Send for Pwrdnswtch
impl Sync for Pwrdnswtch
impl Unpin for Pwrdnswtch
impl UnwindSafe for Pwrdnswtch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)