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