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