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