Enum stm32_metapac::spi::vals::Chside
#[repr(u8)]pub enum Chside {
LEFT = 0,
RIGHT = 1,
}
Variants§
LEFT = 0
Channel left has to be transmitted or has been received
RIGHT = 1
Channel right has to be transmitted or has been received
Implementations§
Trait Implementations§
§impl Ord for Chside
impl Ord for Chside
§impl PartialOrd for Chside
impl PartialOrd for Chside
§fn partial_cmp(&self, other: &Chside) -> Option<Ordering>
fn partial_cmp(&self, other: &Chside) -> 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 Chside
impl Eq for Chside
impl StructuralPartialEq for Chside
Auto Trait Implementations§
impl Freeze for Chside
impl RefUnwindSafe for Chside
impl Send for Chside
impl Sync for Chside
impl Unpin for Chside
impl UnwindSafe for Chside
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