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