Enum stm32_metapac::rcc::vals::Stopkerwuck
#[repr(u8)]pub enum Stopkerwuck {
MSIK = 0,
HSI = 1,
}
Variants§
MSIK = 0
MSIK oscillator automatically enabled when exiting Stop mode
HSI = 1
HSI oscillator automatically enabled when exiting Stop mode
Implementations§
§impl Stopkerwuck
impl Stopkerwuck
pub const fn from_bits(val: u8) -> Stopkerwuck
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Stopkerwuck
impl Clone for Stopkerwuck
§fn clone(&self) -> Stopkerwuck
fn clone(&self) -> Stopkerwuck
Returns a copy 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 more§impl From<Stopkerwuck> for u8
impl From<Stopkerwuck> for u8
§fn from(val: Stopkerwuck) -> u8
fn from(val: Stopkerwuck) -> u8
Converts to this type from the input type.
§impl From<u8> for Stopkerwuck
impl From<u8> for Stopkerwuck
§fn from(val: u8) -> Stopkerwuck
fn from(val: u8) -> Stopkerwuck
Converts to this type from the input type.
§impl Ord for Stopkerwuck
impl Ord for Stopkerwuck
§impl PartialEq for Stopkerwuck
impl PartialEq for Stopkerwuck
§fn eq(&self, other: &Stopkerwuck) -> bool
fn eq(&self, other: &Stopkerwuck) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for Stopkerwuck
impl PartialOrd for Stopkerwuck
§fn partial_cmp(&self, other: &Stopkerwuck) -> Option<Ordering>
fn partial_cmp(&self, other: &Stopkerwuck) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Stopkerwuck
impl Eq for Stopkerwuck
impl StructuralEq for Stopkerwuck
impl StructuralPartialEq for Stopkerwuck
Auto Trait Implementations§
impl RefUnwindSafe for Stopkerwuck
impl Send for Stopkerwuck
impl Sync for Stopkerwuck
impl Unpin for Stopkerwuck
impl UnwindSafe for Stopkerwuck
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