pub enum InputFunction {
Show 169 variants
Abort,
AcceptLine,
AliasExpandLine,
ArrowKeyPrefix,
BackwardByte,
BackwardChar,
BackwardDeleteChar,
BackwardKillLine,
BackwardKillWord,
BackwardWord,
BeginningOfHistory,
BeginningOfLine,
BracketedPasteBegin,
CallLastKbdMacro,
CapitalizeWord,
CharacterSearch,
CharacterSearchBackward,
ClearDisplay,
ClearScreen,
Complete,
CompleteCommand,
CompleteFilename,
CompleteHostname,
CompleteIntoBraces,
CompleteUsername,
CompleteVariable,
CopyBackwardWord,
CopyForwardWord,
CopyRegionAsKill,
DabbrevExpand,
DeleteChar,
DeleteCharOrList,
DeleteHorizontalSpace,
DigitArgument,
DisplayShellVersion,
DoLowercaseVersion,
DowncaseWord,
DumpFunctions,
DumpMacros,
DumpVariables,
DynamicCompleteHistory,
EditAndExecuteCommand,
EmacsEditingMode,
EndKbdMacro,
EndOfHistory,
EndOfLine,
ExchangePointAndMark,
ForwardBackwardDeleteChar,
ForwardByte,
ForwardChar,
ForwardSearchHistory,
ForwardWord,
GlobCompleteWord,
GlobExpandWord,
GlobListExpansions,
HistoryAndAliasExpandLine,
HistoryExpandLine,
HistorySearchBackward,
HistorySearchForward,
HistorySubstringSearchBackward,
HistorySubstringSearchForward,
InsertComment,
InsertCompletions,
InsertLastArgument,
KillLine,
KillRegion,
KillWholeLine,
KillWord,
MagicSpace,
MenuComplete,
MenuCompleteBackward,
NextHistory,
NextScreenLine,
NonIncrementalForwardSearchHistory,
NonIncrementalForwardSearchHistoryAgain,
NonIncrementalReverseSearchHistory,
NonIncrementalReverseSearchHistoryAgain,
OldMenuComplete,
OperateAndGetNext,
OverwriteMode,
PossibleCommandCompletions,
PossibleCompletions,
PossibleFilenameCompletions,
PossibleHostnameCompletions,
PossibleUsernameCompletions,
PossibleVariableCompletions,
PreviousHistory,
PreviousScreenLine,
PrintLastKbdMacro,
QuotedInsert,
ReReadInitFile,
RedrawCurrentLine,
ReverseSearchHistory,
RevertLine,
SelfInsert,
SetMark,
ShellBackwardKillWord,
ShellBackwardWord,
ShellExpandLine,
ShellForwardWord,
ShellKillWord,
ShellTransposeWords,
SkipCsiSequence,
StartKbdMacro,
TabInsert,
TildeExpand,
TransposeChars,
TransposeWords,
TtyStatus,
Undo,
UniversalArgument,
UnixFilenameRubout,
UnixLineDiscard,
UnixWordRubout,
UpcaseWord,
ViAppendEol,
ViAppendMode,
ViArgDigit,
ViBWord,
ViBackToIndent,
ViBackwardBigword,
ViBackwardWord,
ViBword,
ViChangeCase,
ViChangeChar,
ViChangeTo,
ViCharSearch,
ViColumn,
ViComplete,
ViDelete,
ViDeleteTo,
ViEWord,
ViEditingMode,
ViEndBigword,
ViEndWord,
ViEofMaybe,
ViEword,
ViFWord,
ViFetchHistory,
ViFirstPrint,
ViForwardBigword,
ViForwardWord,
ViFword,
ViGotoMark,
ViInsertBeg,
ViInsertionMode,
ViMatch,
ViMovementMode,
ViNextWord,
ViOverstrike,
ViOverstrikeDelete,
ViPrevWord,
ViPut,
ViRedo,
ViReplace,
ViRubout,
ViSearch,
ViSearchAgain,
ViSetMark,
ViSubst,
ViTildeExpand,
ViUnixWordRubout,
ViYankArg,
ViYankPop,
ViYankTo,
Yank,
YankLastArg,
YankNthArg,
YankPop,
}Expand description
Defines all input functions.
Variants§
Abort
AcceptLine
AliasExpandLine
ArrowKeyPrefix
BackwardByte
BackwardChar
BackwardDeleteChar
BackwardKillLine
BackwardKillWord
BackwardWord
BeginningOfHistory
BeginningOfLine
BracketedPasteBegin
CallLastKbdMacro
CapitalizeWord
CharacterSearch
CharacterSearchBackward
ClearDisplay
ClearScreen
Complete
CompleteCommand
CompleteFilename
CompleteHostname
CompleteIntoBraces
CompleteUsername
CompleteVariable
CopyBackwardWord
CopyForwardWord
CopyRegionAsKill
DabbrevExpand
DeleteChar
DeleteCharOrList
DeleteHorizontalSpace
DigitArgument
DisplayShellVersion
DoLowercaseVersion
DowncaseWord
DumpFunctions
DumpMacros
DumpVariables
DynamicCompleteHistory
EditAndExecuteCommand
EmacsEditingMode
EndKbdMacro
EndOfHistory
EndOfLine
ExchangePointAndMark
ForwardBackwardDeleteChar
ForwardByte
ForwardChar
ForwardSearchHistory
ForwardWord
GlobCompleteWord
GlobExpandWord
GlobListExpansions
HistoryAndAliasExpandLine
HistoryExpandLine
HistorySearchBackward
HistorySearchForward
HistorySubstringSearchBackward
HistorySubstringSearchForward
InsertComment
InsertCompletions
InsertLastArgument
KillLine
KillRegion
KillWholeLine
KillWord
MagicSpace
MenuComplete
MenuCompleteBackward
NextHistory
NextScreenLine
NonIncrementalForwardSearchHistory
NonIncrementalForwardSearchHistoryAgain
NonIncrementalReverseSearchHistory
NonIncrementalReverseSearchHistoryAgain
OldMenuComplete
OperateAndGetNext
OverwriteMode
PossibleCommandCompletions
PossibleCompletions
PossibleFilenameCompletions
PossibleHostnameCompletions
PossibleUsernameCompletions
PossibleVariableCompletions
PreviousHistory
PreviousScreenLine
PrintLastKbdMacro
QuotedInsert
ReReadInitFile
RedrawCurrentLine
ReverseSearchHistory
RevertLine
SelfInsert
SetMark
ShellBackwardKillWord
ShellBackwardWord
ShellExpandLine
ShellForwardWord
ShellKillWord
ShellTransposeWords
SkipCsiSequence
StartKbdMacro
TabInsert
TildeExpand
TransposeChars
TransposeWords
TtyStatus
Undo
UniversalArgument
UnixFilenameRubout
UnixLineDiscard
UnixWordRubout
UpcaseWord
ViAppendEol
ViAppendMode
ViArgDigit
ViBWord
ViBackToIndent
ViBackwardBigword
ViBackwardWord
ViBword
ViChangeCase
ViChangeChar
ViChangeTo
ViCharSearch
ViColumn
ViComplete
ViDelete
ViDeleteTo
ViEWord
ViEditingMode
ViEndBigword
ViEndWord
ViEofMaybe
ViEword
ViFWord
ViFetchHistory
ViFirstPrint
ViForwardBigword
ViForwardWord
ViFword
ViGotoMark
ViInsertBeg
ViInsertionMode
ViMatch
ViMovementMode
ViNextWord
ViOverstrike
ViOverstrikeDelete
ViPrevWord
ViPut
ViRedo
ViReplace
ViRubout
ViSearch
ViSearchAgain
ViSetMark
ViSubst
ViTildeExpand
ViUnixWordRubout
ViYankArg
ViYankPop
ViYankTo
Yank
YankLastArg
YankNthArg
YankPop
Trait Implementations§
Source§impl Debug for InputFunction
impl Debug for InputFunction
Source§impl Display for InputFunction
impl Display for InputFunction
Source§impl FromStr for InputFunction
impl FromStr for InputFunction
Source§impl IntoEnumIterator for InputFunction
impl IntoEnumIterator for InputFunction
Auto Trait Implementations§
impl Freeze for InputFunction
impl RefUnwindSafe for InputFunction
impl Send for InputFunction
impl Sync for InputFunction
impl Unpin for InputFunction
impl UnwindSafe for InputFunction
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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