Enum stm32_metapac::spi::vals::Lsbfirst
#[repr(u8)]pub enum Lsbfirst {
MSBFIRST = 0,
LSBFIRST = 1,
}
Variants§
MSBFIRST = 0
Data is transmitted/received with the MSB first
LSBFIRST = 1
Data is transmitted/received with the LSB first
Implementations§
Trait Implementations§
§impl Ord for Lsbfirst
impl Ord for Lsbfirst
§impl PartialOrd for Lsbfirst
impl PartialOrd for Lsbfirst
§fn partial_cmp(&self, other: &Lsbfirst) -> Option<Ordering>
fn partial_cmp(&self, other: &Lsbfirst) -> 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 Lsbfirst
impl Eq for Lsbfirst
impl StructuralPartialEq for Lsbfirst
Auto Trait Implementations§
impl Freeze for Lsbfirst
impl RefUnwindSafe for Lsbfirst
impl Send for Lsbfirst
impl Sync for Lsbfirst
impl Unpin for Lsbfirst
impl UnwindSafe for Lsbfirst
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