pub enum EditorCommand {
Show 33 variants
Save,
SaveAs,
Open,
New,
Close,
Quit,
Undo,
Redo,
SelectAll,
Copy,
Cut,
Paste,
Find,
FindNext,
FindPrevious,
Replace,
GotoLine,
CommandPalette,
FileFinder,
LanguagePicker,
ToggleSidebar,
ToggleConsole,
ToggleTheme,
Help,
Repl,
ToggleComment,
AddCursorAbove,
AddCursorBelow,
SelectNextOccurrence,
NextBuffer,
PrevBuffer,
Format,
DuplicateLine,
}Expand description
An editor command that every frontend understands.
Variants§
Save
SaveAs
Open
New
Close
Quit
Undo
Redo
SelectAll
Copy
Cut
Paste
Find
FindNext
FindPrevious
Replace
GotoLine
CommandPalette
FileFinder
LanguagePicker
ToggleSidebar
ToggleConsole
ToggleTheme
Help
Repl
ToggleComment
AddCursorAbove
AddCursorBelow
SelectNextOccurrence
NextBuffer
PrevBuffer
Format
DuplicateLine
Trait Implementations§
Source§impl Clone for EditorCommand
impl Clone for EditorCommand
impl Copy for EditorCommand
Source§impl Debug for EditorCommand
impl Debug for EditorCommand
impl Eq for EditorCommand
Source§impl Hash for EditorCommand
impl Hash for EditorCommand
Source§impl PartialEq for EditorCommand
impl PartialEq for EditorCommand
impl StructuralPartialEq for EditorCommand
Auto Trait Implementations§
impl Forget for EditorCommand
impl Freeze for EditorCommand
impl Move for EditorCommand
impl RefUnwindSafe for EditorCommand
impl Send for EditorCommand
impl Sync for EditorCommand
impl Unpin for EditorCommand
impl UnsafeUnpin for EditorCommand
impl UnwindSafe for EditorCommand
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