Enum stm32_metapac::spi::vals::Dff
#[repr(u8)]pub enum Dff {
EIGHTBIT = 0,
SIXTEENBIT = 1,
}
Variants§
EIGHTBIT = 0
8-bit data frame format is selected for transmission/reception
SIXTEENBIT = 1
16-bit data frame format is selected for transmission/reception
Implementations§
Trait Implementations§
§impl Ord for Dff
impl Ord for Dff
§impl PartialOrd for Dff
impl PartialOrd for Dff
§fn partial_cmp(&self, other: &Dff) -> Option<Ordering>
fn partial_cmp(&self, other: &Dff) -> 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 Dff
impl Eq for Dff
impl StructuralPartialEq for Dff
Auto Trait Implementations§
impl Freeze for Dff
impl RefUnwindSafe for Dff
impl Send for Dff
impl Sync for Dff
impl Unpin for Dff
impl UnwindSafe for Dff
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