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