#[repr(u8)]pub enum Sm2ctrlPrsc {
ONE = 0,
TWO = 1,
FOUR = 2,
EIGHT = 3,
SIXTEEN = 4,
THIRTYTWO = 5,
SIXTYFOUR = 6,
HUNDREDTWENTYEIGHT = 7,
}Variants§
ONE = 0
Prescaler 1
TWO = 1
Prescaler 2
FOUR = 2
Prescaler 4
EIGHT = 3
Prescaler 8
SIXTEEN = 4
Prescaler 16
THIRTYTWO = 5
Prescaler 32
SIXTYFOUR = 6
Prescaler 64
HUNDREDTWENTYEIGHT = 7
Prescaler 128
Implementations§
Source§impl Sm2ctrlPrsc
impl Sm2ctrlPrsc
Trait Implementations§
Source§impl Clone for Sm2ctrlPrsc
impl Clone for Sm2ctrlPrsc
Source§fn clone(&self) -> Sm2ctrlPrsc
fn clone(&self) -> Sm2ctrlPrsc
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 Sm2ctrlPrsc
impl Debug for Sm2ctrlPrsc
Source§impl From<Sm2ctrlPrsc> for u8
impl From<Sm2ctrlPrsc> for u8
Source§fn from(val: Sm2ctrlPrsc) -> u8
fn from(val: Sm2ctrlPrsc) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Sm2ctrlPrsc
impl From<u8> for Sm2ctrlPrsc
Source§fn from(val: u8) -> Sm2ctrlPrsc
fn from(val: u8) -> Sm2ctrlPrsc
Converts to this type from the input type.
Source§impl Ord for Sm2ctrlPrsc
impl Ord for Sm2ctrlPrsc
Source§fn cmp(&self, other: &Sm2ctrlPrsc) -> Ordering
fn cmp(&self, other: &Sm2ctrlPrsc) -> 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 Sm2ctrlPrsc
impl PartialEq for Sm2ctrlPrsc
Source§impl PartialOrd for Sm2ctrlPrsc
impl PartialOrd for Sm2ctrlPrsc
impl Copy for Sm2ctrlPrsc
impl Eq for Sm2ctrlPrsc
impl StructuralPartialEq for Sm2ctrlPrsc
Auto Trait Implementations§
impl Freeze for Sm2ctrlPrsc
impl RefUnwindSafe for Sm2ctrlPrsc
impl Send for Sm2ctrlPrsc
impl Sync for Sm2ctrlPrsc
impl Unpin for Sm2ctrlPrsc
impl UnwindSafe for Sm2ctrlPrsc
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