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