pub enum EditorAction {
Show 41 variants
TypeCharacter(char),
TypeString(String),
Backspace,
Delete,
Newline,
Paste(String),
MoveLeft,
MoveRight,
MoveUp,
MoveDown,
MoveToBeginningOfLine,
MoveToEndOfLine,
MoveWordLeft,
MoveWordRight,
SelectLeft,
SelectRight,
SelectUp,
SelectDown,
SelectWordLeft,
SelectWordRight,
SelectAll,
Undo,
Redo,
Cut,
Copy,
DeleteLine,
DeleteToBeginningOfLine,
DeleteToEndOfLine,
DeleteWordLeft,
DeleteWordRight,
MoveLineUp,
MoveLineDown,
Tab,
Outdent,
IncreaseFontSize,
DecreaseFontSize,
ResetFontSize,
Quit,
SetCursorPosition {
row: usize,
column: usize,
},
StartSelection {
row: usize,
column: usize,
},
ExtendSelection {
row: usize,
column: usize,
},
}Variants§
TypeCharacter(char)
TypeString(String)
Backspace
Delete
Newline
Paste(String)
MoveLeft
MoveRight
MoveUp
MoveDown
MoveToBeginningOfLine
MoveToEndOfLine
MoveWordLeft
MoveWordRight
SelectLeft
SelectRight
SelectUp
SelectDown
SelectWordLeft
SelectWordRight
SelectAll
Undo
Redo
Cut
Copy
DeleteLine
DeleteToBeginningOfLine
DeleteToEndOfLine
DeleteWordLeft
DeleteWordRight
MoveLineUp
MoveLineDown
Tab
Outdent
IncreaseFontSize
DecreaseFontSize
ResetFontSize
Quit
SetCursorPosition
StartSelection
ExtendSelection
Trait Implementations§
Source§impl Clone for EditorAction
impl Clone for EditorAction
Source§fn clone(&self) -> EditorAction
fn clone(&self) -> EditorAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EditorAction
impl Debug for EditorAction
Source§impl PartialEq for EditorAction
impl PartialEq for EditorAction
impl StructuralPartialEq for EditorAction
Auto Trait Implementations§
impl Freeze for EditorAction
impl RefUnwindSafe for EditorAction
impl Send for EditorAction
impl Sync for EditorAction
impl Unpin for EditorAction
impl UnwindSafe for EditorAction
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