Enum stm32_metapac::spi::vals::Datlen
#[repr(u8)]pub enum Datlen {
SIXTEENBIT = 0,
TWENTYFOURBIT = 1,
THIRTYTWOBIT = 2,
_RESERVED_3 = 3,
}
Variants§
SIXTEENBIT = 0
16-bit data length
TWENTYFOURBIT = 1
24-bit data length
THIRTYTWOBIT = 2
32-bit data length
_RESERVED_3 = 3
Implementations§
Trait Implementations§
§impl Ord for Datlen
impl Ord for Datlen
§impl PartialOrd for Datlen
impl PartialOrd for Datlen
§fn partial_cmp(&self, other: &Datlen) -> Option<Ordering>
fn partial_cmp(&self, other: &Datlen) -> 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 Datlen
impl Eq for Datlen
impl StructuralPartialEq for Datlen
Auto Trait Implementations§
impl Freeze for Datlen
impl RefUnwindSafe for Datlen
impl Send for Datlen
impl Sync for Datlen
impl Unpin for Datlen
impl UnwindSafe for Datlen
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