#[repr(u8)]pub enum Ringo2CtrlPd {
POWERED_ON = 0,
POWERED_DOWN = 1,
}Variants§
Implementations§
Source§impl Ringo2CtrlPd
impl Ringo2CtrlPd
Trait Implementations§
Source§impl Clone for Ringo2CtrlPd
impl Clone for Ringo2CtrlPd
Source§fn clone(&self) -> Ringo2CtrlPd
fn clone(&self) -> Ringo2CtrlPd
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 Ringo2CtrlPd
impl Debug for Ringo2CtrlPd
Source§impl From<Ringo2CtrlPd> for u8
impl From<Ringo2CtrlPd> for u8
Source§fn from(val: Ringo2CtrlPd) -> u8
fn from(val: Ringo2CtrlPd) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Ringo2CtrlPd
impl From<u8> for Ringo2CtrlPd
Source§fn from(val: u8) -> Ringo2CtrlPd
fn from(val: u8) -> Ringo2CtrlPd
Converts to this type from the input type.
Source§impl Ord for Ringo2CtrlPd
impl Ord for Ringo2CtrlPd
Source§fn cmp(&self, other: &Ringo2CtrlPd) -> Ordering
fn cmp(&self, other: &Ringo2CtrlPd) -> 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 Ringo2CtrlPd
impl PartialEq for Ringo2CtrlPd
Source§impl PartialOrd for Ringo2CtrlPd
impl PartialOrd for Ringo2CtrlPd
impl Copy for Ringo2CtrlPd
impl Eq for Ringo2CtrlPd
impl StructuralPartialEq for Ringo2CtrlPd
Auto Trait Implementations§
impl Freeze for Ringo2CtrlPd
impl RefUnwindSafe for Ringo2CtrlPd
impl Send for Ringo2CtrlPd
impl Sync for Ringo2CtrlPd
impl Unpin for Ringo2CtrlPd
impl UnwindSafe for Ringo2CtrlPd
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