#[repr(C)]pub enum PamojaPinEdge {
Rising = 0,
Falling = 1,
Both = 2,
}Expand description
The signal transition that triggers a pin interrupt.
Variants§
Rising = 0
A low-to-high transition.
Falling = 1
A high-to-low transition.
Both = 2
Either transition.
Trait Implementations§
Source§impl Clone for PamojaPinEdge
impl Clone for PamojaPinEdge
Source§fn clone(&self) -> PamojaPinEdge
fn clone(&self) -> PamojaPinEdge
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 PamojaPinEdge
Source§impl Debug for PamojaPinEdge
impl Debug for PamojaPinEdge
impl Eq for PamojaPinEdge
Source§impl From<PamojaPinEdge> for Edge
impl From<PamojaPinEdge> for Edge
Source§fn from(value: PamojaPinEdge) -> Self
fn from(value: PamojaPinEdge) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PamojaPinEdge
impl PartialEq for PamojaPinEdge
Source§fn eq(&self, other: &PamojaPinEdge) -> bool
fn eq(&self, other: &PamojaPinEdge) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaPinEdge
Auto Trait Implementations§
impl Freeze for PamojaPinEdge
impl RefUnwindSafe for PamojaPinEdge
impl Send for PamojaPinEdge
impl Sync for PamojaPinEdge
impl Unpin for PamojaPinEdge
impl UnsafeUnpin for PamojaPinEdge
impl UnwindSafe for PamojaPinEdge
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