pub enum TapHoldState {
Pending,
Tap,
Hold,
}
Expand description
The state of a tap-hold key.
Variants§
Trait Implementations§
Source§impl Clone for TapHoldState
impl Clone for TapHoldState
Source§fn clone(&self) -> TapHoldState
fn clone(&self) -> TapHoldState
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TapHoldState
impl Debug for TapHoldState
Source§impl PartialEq for TapHoldState
impl PartialEq for TapHoldState
impl Copy for TapHoldState
impl StructuralPartialEq for TapHoldState
Auto Trait Implementations§
impl Freeze for TapHoldState
impl RefUnwindSafe for TapHoldState
impl Send for TapHoldState
impl Sync for TapHoldState
impl Unpin for TapHoldState
impl UnwindSafe for TapHoldState
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