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