Enum stm32_metapac::spi::vals::Odd
#[repr(u8)]pub enum Odd {
EVEN = 0,
ODD = 1,
}
Variants§
Implementations§
Trait Implementations§
§impl Ord for Odd
impl Ord for Odd
§impl PartialOrd for Odd
impl PartialOrd for Odd
§fn partial_cmp(&self, other: &Odd) -> Option<Ordering>
fn partial_cmp(&self, other: &Odd) -> 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 Odd
impl Eq for Odd
impl StructuralPartialEq for Odd
Auto Trait Implementations§
impl Freeze for Odd
impl RefUnwindSafe for Odd
impl Send for Odd
impl Sync for Odd
impl Unpin for Odd
impl UnwindSafe for Odd
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