Enum stm32_metapac::rcc::vals::Swpsel
#[repr(u8)]pub enum Swpsel {
PCLK = 0,
HSI = 1,
}
Variants§
Implementations§
Trait Implementations§
§impl Ord for Swpsel
impl Ord for Swpsel
§impl PartialOrd for Swpsel
impl PartialOrd for Swpsel
§fn partial_cmp(&self, other: &Swpsel) -> Option<Ordering>
fn partial_cmp(&self, other: &Swpsel) -> 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 Swpsel
impl Eq for Swpsel
impl StructuralEq for Swpsel
impl StructuralPartialEq for Swpsel
Auto Trait Implementations§
impl RefUnwindSafe for Swpsel
impl Send for Swpsel
impl Sync for Swpsel
impl Unpin for Swpsel
impl UnwindSafe for Swpsel
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