pub enum EngineCmd {
ReplaceChar {
ch: char,
count: usize,
},
}Expand description
Controller commands the host engine implements. hjkl-vim never mutates
the editor directly — it emits a command and the host (apps/hjkl) calls
the corresponding Editor method.
Variants§
Trait Implementations§
impl Eq for EngineCmd
impl StructuralPartialEq for EngineCmd
Auto Trait Implementations§
impl Freeze for EngineCmd
impl RefUnwindSafe for EngineCmd
impl Send for EngineCmd
impl Sync for EngineCmd
impl Unpin for EngineCmd
impl UnsafeUnpin for EngineCmd
impl UnwindSafe for EngineCmd
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