pub enum HistoryCommand {
Undo,
Redo,
UndoLine,
}Expand description
Undo operation to execute through host-owned history.
Variants§
Undo
Restore an earlier host undo group (u).
Redo
Reapply an undone group (Ctrl-R).
UndoLine
Undo changes to the line using Neovim’s U semantics.
Trait Implementations§
Source§impl Clone for HistoryCommand
impl Clone for HistoryCommand
impl Copy for HistoryCommand
Source§impl Debug for HistoryCommand
impl Debug for HistoryCommand
impl Eq for HistoryCommand
Source§impl PartialEq for HistoryCommand
impl PartialEq for HistoryCommand
impl StructuralPartialEq for HistoryCommand
Auto Trait Implementations§
impl Freeze for HistoryCommand
impl RefUnwindSafe for HistoryCommand
impl Send for HistoryCommand
impl Sync for HistoryCommand
impl Unpin for HistoryCommand
impl UnsafeUnpin for HistoryCommand
impl UnwindSafe for HistoryCommand
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