Enum stm32_metapac::spi::vals::Rxonly
#[repr(u8)]pub enum Rxonly {
FULLDUPLEX = 0,
OUTPUTDISABLED = 1,
}
Variants§
FULLDUPLEX = 0
Full duplex (Transmit and receive)
OUTPUTDISABLED = 1
Output disabled (Receive-only mode)
Implementations§
Trait Implementations§
§impl Ord for Rxonly
impl Ord for Rxonly
§impl PartialOrd for Rxonly
impl PartialOrd for Rxonly
§fn partial_cmp(&self, other: &Rxonly) -> Option<Ordering>
fn partial_cmp(&self, other: &Rxonly) -> 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 Rxonly
impl Eq for Rxonly
impl StructuralPartialEq for Rxonly
Auto Trait Implementations§
impl Freeze for Rxonly
impl RefUnwindSafe for Rxonly
impl Send for Rxonly
impl Sync for Rxonly
impl Unpin for Rxonly
impl UnwindSafe for Rxonly
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