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