pub enum Binding {
Default,
Command(Command),
Host(HostCommand),
Unhandled,
}Expand description
How the host keymap interpreted the original input.
Variants§
Default
Interpret the key using Vimlet’s built-in bindings.
Command(Command)
Interpret a semantic Vim command selected by the host keymap.
Host(HostCommand)
Dispatch a host-defined command through the execution protocol.
Unhandled
Give the surrounding application ownership of an unmapped key.
Trait Implementations§
impl Eq for Binding
impl StructuralPartialEq for Binding
Auto Trait Implementations§
impl Freeze for Binding
impl RefUnwindSafe for Binding
impl Send for Binding
impl Sync for Binding
impl Unpin for Binding
impl UnsafeUnpin for Binding
impl UnwindSafe for Binding
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