pub enum FocusCommand {
Show 59 variants
SplitVertical,
SplitHorizontal,
SplitExchange,
SplitClose,
SplitRight,
SplitLeft,
SplitUp,
SplitDown,
SearchWholeWordForward,
SearchForward,
SearchBackward,
ToggleCaseSensitive,
GlobalSearchRefresh,
ClearSearch,
SearchInView,
ListSelect,
ListNext,
ListNextPage,
ListPrevious,
ListPreviousPage,
ListExpand,
JumpToNextSnippetPlaceholder,
JumpToPrevSnippetPlaceholder,
ShowCodeActions,
GetCompletion,
GetSignature,
ToggleBreakpoint,
ModalClose,
GotoDefinition,
GotoTypeDefinition,
ShowHover,
NextDiff,
PreviousDiff,
ToggleCodeLens,
ToggleHistory,
FormatDocument,
Search,
FocusReplaceEditor,
FocusFindEditor,
InlineFindRight,
InlineFindLeft,
OnScreenFind,
CreateMark,
GoToMark,
RepeatLastInlineFind,
Save,
SaveWithoutFormatting,
SaveAndExit,
ForceExit,
Rename,
ConfirmRename,
SelectNextSyntaxItem,
SelectPreviousSyntaxItem,
OpenSourceFile,
InlineCompletionSelect,
InlineCompletionNext,
InlineCompletionPrevious,
InlineCompletionCancel,
InlineCompletionInvoke,
}
Variants§
SplitVertical
SplitHorizontal
SplitExchange
SplitClose
SplitRight
SplitLeft
SplitUp
SplitDown
SearchWholeWordForward
SearchForward
SearchBackward
ToggleCaseSensitive
GlobalSearchRefresh
ClearSearch
SearchInView
ListSelect
ListNext
ListNextPage
ListPrevious
ListPreviousPage
ListExpand
JumpToNextSnippetPlaceholder
JumpToPrevSnippetPlaceholder
ShowCodeActions
GetCompletion
GetSignature
ToggleBreakpoint
ModalClose
This will close a modal, such as the settings window or completion
GotoDefinition
GotoTypeDefinition
ShowHover
NextDiff
PreviousDiff
ToggleCodeLens
ToggleHistory
FormatDocument
Search
FocusReplaceEditor
FocusFindEditor
InlineFindRight
InlineFindLeft
OnScreenFind
CreateMark
GoToMark
RepeatLastInlineFind
Save
SaveWithoutFormatting
SaveAndExit
ForceExit
Rename
ConfirmRename
SelectNextSyntaxItem
SelectPreviousSyntaxItem
OpenSourceFile
InlineCompletionSelect
InlineCompletionNext
InlineCompletionPrevious
InlineCompletionCancel
InlineCompletionInvoke
Trait Implementations§
Source§impl Clone for FocusCommand
impl Clone for FocusCommand
Source§fn clone(&self) -> FocusCommand
fn clone(&self) -> FocusCommand
Returns a copy 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 FocusCommand
impl Debug for FocusCommand
Source§impl Display for FocusCommand
impl Display for FocusCommand
Source§impl EnumMessage for FocusCommand
impl EnumMessage for FocusCommand
fn get_message(&self) -> Option<&'static str>
fn get_detailed_message(&self) -> Option<&'static str>
Source§fn get_documentation(&self) -> Option<&'static str>
fn get_documentation(&self) -> Option<&'static str>
Get the doc comment associated with a variant if it exists.
fn get_serializations(&self) -> &'static [&'static str]
Source§impl<'_derivative_strum> From<&'_derivative_strum FocusCommand> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum FocusCommand> for &'static str
Source§fn from(x: &'_derivative_strum FocusCommand) -> &'static str
fn from(x: &'_derivative_strum FocusCommand) -> &'static str
Converts to this type from the input type.
Source§impl From<FocusCommand> for &'static str
impl From<FocusCommand> for &'static str
Source§fn from(x: FocusCommand) -> &'static str
fn from(x: FocusCommand) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for FocusCommand
impl FromStr for FocusCommand
Source§impl IntoEnumIterator for FocusCommand
impl IntoEnumIterator for FocusCommand
type Iterator = FocusCommandIter
fn iter() -> FocusCommandIter ⓘ
Source§impl PartialEq for FocusCommand
impl PartialEq for FocusCommand
Source§impl TryFrom<&str> for FocusCommand
impl TryFrom<&str> for FocusCommand
impl Eq for FocusCommand
impl StructuralPartialEq for FocusCommand
Auto Trait Implementations§
impl Freeze for FocusCommand
impl RefUnwindSafe for FocusCommand
impl Send for FocusCommand
impl Sync for FocusCommand
impl Unpin for FocusCommand
impl UnwindSafe for FocusCommand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more