#[repr(u8)]pub enum TriggerEdge {
Rising = 1,
Falling = 2,
Any = 3,
}Expand description
Trigger edge selection for injected conversions.
Variants§
Rising = 1
Detect only rising edges (low to high transitions)
Falling = 2
Detect only falling edges (high to low transitions)
Any = 3
Detect both rising and falling edges
Trait Implementations§
Source§impl Clone for TriggerEdge
impl Clone for TriggerEdge
Source§fn clone(&self) -> TriggerEdge
fn clone(&self) -> TriggerEdge
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TriggerEdge
Source§impl Debug for TriggerEdge
impl Debug for TriggerEdge
impl Eq for TriggerEdge
Source§impl PartialEq for TriggerEdge
impl PartialEq for TriggerEdge
impl StructuralPartialEq for TriggerEdge
Auto Trait Implementations§
impl Freeze for TriggerEdge
impl RefUnwindSafe for TriggerEdge
impl Send for TriggerEdge
impl Sync for TriggerEdge
impl Unpin for TriggerEdge
impl UnsafeUnpin for TriggerEdge
impl UnwindSafe for TriggerEdge
Blanket Implementations§
impl<T, I> Binding<I, NoHandler<I>> for T
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