Enum stm32_metapac::spi::vals::Fixch
#[repr(u8)]pub enum Fixch {
NOTFIXED = 0,
FIXED = 1,
}
Variants§
NOTFIXED = 0
The channel length in slave mode is different from 16 or 32 bits (CHLEN not taken into account)
FIXED = 1
The channel length in slave mode is supposed to be 16 or 32 bits (according to CHLEN)
Implementations§
Trait Implementations§
§impl Ord for Fixch
impl Ord for Fixch
§impl PartialOrd for Fixch
impl PartialOrd for Fixch
§fn partial_cmp(&self, other: &Fixch) -> Option<Ordering>
fn partial_cmp(&self, other: &Fixch) -> 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 Fixch
impl Eq for Fixch
impl StructuralEq for Fixch
impl StructuralPartialEq for Fixch
Auto Trait Implementations§
impl RefUnwindSafe for Fixch
impl Send for Fixch
impl Sync for Fixch
impl Unpin for Fixch
impl UnwindSafe for Fixch
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