Enum stm32_metapac::dmamux::vals::Pol
#[repr(u8)]pub enum Pol {
NOEDGE = 0,
RISINGEDGE = 1,
FALLINGEDGE = 2,
BOTHEDGES = 3,
}
Variants§
NOEDGE = 0
No event, i.e. no synchronization nor detection
RISINGEDGE = 1
Rising edge
FALLINGEDGE = 2
Falling edge
BOTHEDGES = 3
Rising and falling edges
Implementations§
Trait Implementations§
§impl Ord for Pol
impl Ord for Pol
§impl PartialOrd for Pol
impl PartialOrd for Pol
§fn partial_cmp(&self, other: &Pol) -> Option<Ordering>
fn partial_cmp(&self, other: &Pol) -> 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 Pol
impl Eq for Pol
impl StructuralEq for Pol
impl StructuralPartialEq for Pol
Auto Trait Implementations§
impl RefUnwindSafe for Pol
impl Send for Pol
impl Sync for Pol
impl Unpin for Pol
impl UnwindSafe for Pol
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