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