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