Enum stm32_metapac::spi::vals::Datfmt
#[repr(u8)]pub enum Datfmt {
RIGHTALIGNED = 0,
LEFTALIGNED = 1,
}
Variants§
RIGHTALIGNED = 0
The data inside RXDR and TXDR are right aligned
LEFTALIGNED = 1
The data inside RXDR and TXDR are left aligned
Implementations§
Trait Implementations§
§impl Ord for Datfmt
impl Ord for Datfmt
§impl PartialOrd for Datfmt
impl PartialOrd for Datfmt
§fn partial_cmp(&self, other: &Datfmt) -> Option<Ordering>
fn partial_cmp(&self, other: &Datfmt) -> 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 Datfmt
impl Eq for Datfmt
impl StructuralEq for Datfmt
impl StructuralPartialEq for Datfmt
Auto Trait Implementations§
impl RefUnwindSafe for Datfmt
impl Send for Datfmt
impl Sync for Datfmt
impl Unpin for Datfmt
impl UnwindSafe for Datfmt
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