pub enum ButtonEdge {
Press,
Release,
}Expand description
Raw debounced button transition.
Variants§
Press
Button transitioned from released to pressed.
Release
Button transitioned from pressed to released.
Trait Implementations§
Source§impl Clone for ButtonEdge
impl Clone for ButtonEdge
Source§fn clone(&self) -> ButtonEdge
fn clone(&self) -> ButtonEdge
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ButtonEdge
impl Debug for ButtonEdge
Source§impl PartialEq for ButtonEdge
impl PartialEq for ButtonEdge
impl Copy for ButtonEdge
impl Eq for ButtonEdge
impl StructuralPartialEq for ButtonEdge
Auto Trait Implementations§
impl Freeze for ButtonEdge
impl RefUnwindSafe for ButtonEdge
impl Send for ButtonEdge
impl Sync for ButtonEdge
impl Unpin for ButtonEdge
impl UnwindSafe for ButtonEdge
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)