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