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