Enum async_std_gpiod::Edge
source · [−]#[repr(u8)]
pub enum Edge {
Rising,
Falling,
}Expand description
Signal edge or level transition of a GPIO line
Variants
Rising
Rising edge detected
Falling
Falling edge detected
Trait Implementations
sourceimpl PartialEq<Edge> for Edge
impl PartialEq<Edge> for Edge
impl Copy for Edge
impl Eq for Edge
impl StructuralEq for Edge
impl StructuralPartialEq for Edge
Auto Trait Implementations
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnwindSafe for Edge
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more