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