pub struct VimNavigator {
pub mode: InputMode,
pub command_buffer: String,
}Fields§
§mode: InputMode§command_buffer: StringImplementations§
pub fn new() -> Self
pub fn handle_key(&mut self, key: KeyEvent) -> NavAction
pub fn exit_insert_mode(&mut self)
Trait Implementations§
Auto Trait Implementations§
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