pub enum PendingKeyState {
TapDance(PendingKeyState),
TapHold(PendingKeyState),
Chorded(PendingKeyState),
}
Expand description
Aggregate enum for key state. (i.e. pressed key data).
Variants§
TapDance(PendingKeyState)
Pending key state for key::tap_dance::PendingKeyState.
TapHold(PendingKeyState)
Pending key state for key::tap_hold::PendingKeyState.
Chorded(PendingKeyState)
Pending key state for key::chorded::PendingKeyState.
Trait Implementations§
Source§impl Clone for PendingKeyState
impl Clone for PendingKeyState
Source§fn clone(&self) -> PendingKeyState
fn clone(&self) -> PendingKeyState
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 PendingKeyState
impl Debug for PendingKeyState
Source§impl From<PendingKeyState> for PendingKeyState
impl From<PendingKeyState> for PendingKeyState
Source§fn from(pks: PendingKeyState) -> Self
fn from(pks: PendingKeyState) -> Self
Converts to this type from the input type.
Source§impl From<PendingKeyState> for PendingKeyState
impl From<PendingKeyState> for PendingKeyState
Source§fn from(pks: PendingKeyState) -> Self
fn from(pks: PendingKeyState) -> Self
Converts to this type from the input type.
Source§impl From<PendingKeyState> for PendingKeyState
impl From<PendingKeyState> for PendingKeyState
Source§fn from(pks: PendingKeyState) -> Self
fn from(pks: PendingKeyState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PendingKeyState
impl PartialEq for PendingKeyState
Source§impl<'pks> TryFrom<&'pks mut PendingKeyState> for &'pks mut PendingKeyState
impl<'pks> TryFrom<&'pks mut PendingKeyState> for &'pks mut PendingKeyState
Source§impl<'pks> TryFrom<&'pks mut PendingKeyState> for &'pks mut PendingKeyState
impl<'pks> TryFrom<&'pks mut PendingKeyState> for &'pks mut PendingKeyState
Source§impl<'pks> TryFrom<&'pks mut PendingKeyState> for &'pks mut PendingKeyState
impl<'pks> TryFrom<&'pks mut PendingKeyState> for &'pks mut PendingKeyState
impl StructuralPartialEq for PendingKeyState
Auto Trait Implementations§
impl Freeze for PendingKeyState
impl RefUnwindSafe for PendingKeyState
impl Send for PendingKeyState
impl Sync for PendingKeyState
impl Unpin for PendingKeyState
impl UnwindSafe for PendingKeyState
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