pub struct KeyDispatcher {
pub timeout: f64,
/* private fields */
}Expand description
Turns key events into commands, keeping the chords of a shortcut in progress and a trace of each resolution.
Fields§
§timeout: f64Seconds before a shortcut in progress is dropped.
Implementations§
Source§impl KeyDispatcher
impl KeyDispatcher
Trait Implementations§
Source§impl Debug for KeyDispatcher
impl Debug for KeyDispatcher
Auto Trait Implementations§
impl Freeze for KeyDispatcher
impl RefUnwindSafe for KeyDispatcher
impl Send for KeyDispatcher
impl Sync for KeyDispatcher
impl Unpin for KeyDispatcher
impl UnsafeUnpin for KeyDispatcher
impl UnwindSafe for KeyDispatcher
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more