pub enum DebouncedInputEvent {
Low,
High,
Rise,
Fall,
}
Expand description
The event result of update DebouncedInput
.
Variants§
Low
Stable low state, the input is inactive.
High
Stable high state, the input is active.
Rise
Rise event, the input is rised from inactive to active state.
Fall
Fall event, the input is rised from active to inactive state.
Trait Implementations§
Source§impl Clone for DebouncedInputEvent
impl Clone for DebouncedInputEvent
Source§fn clone(&self) -> DebouncedInputEvent
fn clone(&self) -> DebouncedInputEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DebouncedInputEvent
impl Debug for DebouncedInputEvent
Source§impl PartialEq for DebouncedInputEvent
impl PartialEq for DebouncedInputEvent
impl Copy for DebouncedInputEvent
impl StructuralPartialEq for DebouncedInputEvent
Auto Trait Implementations§
impl Freeze for DebouncedInputEvent
impl RefUnwindSafe for DebouncedInputEvent
impl Send for DebouncedInputEvent
impl Sync for DebouncedInputEvent
impl Unpin for DebouncedInputEvent
impl UnwindSafe for DebouncedInputEvent
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