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