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