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