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