pub enum KeymapMatch {
None,
Pending,
Matched(Vec<Box<dyn Action>>),
}Expand description
Result of feeding a keystroke into the Keymap.
Variants§
None
No binding matches; the keystroke should be handled as raw input.
Pending
A prefix of a multi-keystroke binding was typed; wait for more.
Matched(Vec<Box<dyn Action>>)
Bindings matched, most specific (context-bound, later-defined) first.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for KeymapMatch
impl !Send for KeymapMatch
impl !Sync for KeymapMatch
impl !UnwindSafe for KeymapMatch
impl Freeze for KeymapMatch
impl Unpin for KeymapMatch
impl UnsafeUnpin for KeymapMatch
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