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