Enum stm32_metapac::rcc::vals::Ckdfsdmsel
#[repr(u8)]pub enum Ckdfsdmsel {
PCLK2 = 0,
SYS = 1,
}
Variants§
Implementations§
§impl Ckdfsdmsel
impl Ckdfsdmsel
pub const fn from_bits(val: u8) -> Ckdfsdmsel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Ckdfsdmsel
impl Clone for Ckdfsdmsel
§fn clone(&self) -> Ckdfsdmsel
fn clone(&self) -> Ckdfsdmsel
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<Ckdfsdmsel> for u8
impl From<Ckdfsdmsel> for u8
§fn from(val: Ckdfsdmsel) -> u8
fn from(val: Ckdfsdmsel) -> u8
Converts to this type from the input type.
§impl From<u8> for Ckdfsdmsel
impl From<u8> for Ckdfsdmsel
§fn from(val: u8) -> Ckdfsdmsel
fn from(val: u8) -> Ckdfsdmsel
Converts to this type from the input type.
§impl Ord for Ckdfsdmsel
impl Ord for Ckdfsdmsel
§impl PartialEq for Ckdfsdmsel
impl PartialEq for Ckdfsdmsel
§fn eq(&self, other: &Ckdfsdmsel) -> bool
fn eq(&self, other: &Ckdfsdmsel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for Ckdfsdmsel
impl PartialOrd for Ckdfsdmsel
§fn partial_cmp(&self, other: &Ckdfsdmsel) -> Option<Ordering>
fn partial_cmp(&self, other: &Ckdfsdmsel) -> 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 Ckdfsdmsel
impl Eq for Ckdfsdmsel
impl StructuralEq for Ckdfsdmsel
impl StructuralPartialEq for Ckdfsdmsel
Auto Trait Implementations§
impl RefUnwindSafe for Ckdfsdmsel
impl Send for Ckdfsdmsel
impl Sync for Ckdfsdmsel
impl Unpin for Ckdfsdmsel
impl UnwindSafe for Ckdfsdmsel
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