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