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