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