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