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