pub enum Event {
Show 23 variants
AutoIndent,
Backspace,
BackspaceInLine,
ChangeFinish,
ChangeStart,
Delete,
DeleteInLine,
Escape,
Insert(char),
Motion(Motion),
NewLine,
Put {
register: char,
after: bool,
},
Redraw,
SelectClear,
SelectStart,
SelectLineStart,
SelectTextObject(TextObject, bool),
SetSearch(String, bool),
ShiftLeft,
ShiftRight,
SwapCase,
Undo,
Yank {
register: char,
},
}
Variants§
AutoIndent
Automatically indent
Backspace
Delete character before cursor
BackspaceInLine
Delete character before cursor without going beyond line boundaries
ChangeFinish
Finish grouping changes together
ChangeStart
Start grouping changes together
Delete
Delete character at cursor
DeleteInLine
Delete character at cursor without going beyond line boundaries
Escape
Escape key
Insert(char)
Insert character at cursor
Motion(Motion)
Move cursor
NewLine
Create new line
Put
Put from register
Redraw
Notify of a mode change requiring redraw
SelectClear
Clear selection
SelectStart
Start selection
SelectLineStart
Start selection by line
SelectTextObject(TextObject, bool)
Select text object
SetSearch(String, bool)
Set search
ShiftLeft
Shift text to the left
ShiftRight
Shift text to the right
SwapCase
Swap case
Undo
Undo last action
Yank
Yank to register
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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