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
impl Copy for Pol
impl Eq for Pol
impl StructuralPartialEq for Pol
Auto Trait Implementations§
impl Freeze for Pol
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)