#[repr(u8)]pub enum SmcaptctrlxEdgx {
DISABLED = 0,
FALLING_EDGE = 1,
RISING_EDGE = 2,
ANY_EDGE = 3,
}Variants§
DISABLED = 0
Disabled
FALLING_EDGE = 1
Capture falling edges
RISING_EDGE = 2
Capture rising edges
ANY_EDGE = 3
Capture any edge
Implementations§
Trait Implementations§
Source§impl Clone for SmcaptctrlxEdgx
impl Clone for SmcaptctrlxEdgx
Source§fn clone(&self) -> SmcaptctrlxEdgx
fn clone(&self) -> SmcaptctrlxEdgx
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 SmcaptctrlxEdgx
impl Debug for SmcaptctrlxEdgx
Source§impl From<SmcaptctrlxEdgx> for u8
impl From<SmcaptctrlxEdgx> for u8
Source§fn from(val: SmcaptctrlxEdgx) -> u8
fn from(val: SmcaptctrlxEdgx) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SmcaptctrlxEdgx
impl From<u8> for SmcaptctrlxEdgx
Source§fn from(val: u8) -> SmcaptctrlxEdgx
fn from(val: u8) -> SmcaptctrlxEdgx
Converts to this type from the input type.
Source§impl Ord for SmcaptctrlxEdgx
impl Ord for SmcaptctrlxEdgx
Source§fn cmp(&self, other: &SmcaptctrlxEdgx) -> Ordering
fn cmp(&self, other: &SmcaptctrlxEdgx) -> 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 SmcaptctrlxEdgx
impl PartialEq for SmcaptctrlxEdgx
Source§impl PartialOrd for SmcaptctrlxEdgx
impl PartialOrd for SmcaptctrlxEdgx
impl Copy for SmcaptctrlxEdgx
impl Eq for SmcaptctrlxEdgx
impl StructuralPartialEq for SmcaptctrlxEdgx
Auto Trait Implementations§
impl Freeze for SmcaptctrlxEdgx
impl RefUnwindSafe for SmcaptctrlxEdgx
impl Send for SmcaptctrlxEdgx
impl Sync for SmcaptctrlxEdgx
impl Unpin for SmcaptctrlxEdgx
impl UnwindSafe for SmcaptctrlxEdgx
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