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