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