pub enum Intent {
Show 48 variants
Quit,
NextTab,
PreviousTab,
SelectTab(Tab),
OpenCommandLine,
CloseTopmost,
SubmitCommandLine,
ConfirmYes,
InsertChar(char),
DeleteBackward,
MoveLeft,
MoveRight,
MoveHome,
MoveEnd,
KillToEnd,
KillWordBackward,
Vim(VimAction),
ToggleEditMode,
OpenHelp,
ConsoleFocus,
ConsoleBlur,
ConsoleSubmit,
ConsoleInterrupt,
ConsoleHistoryPrev,
ConsoleHistoryNext,
ConsoleCyclePane,
ScrollLineUp,
ScrollLineDown,
ScrollPageUp,
ScrollPageDown,
ListSelectNext,
ListSelectPrev,
ListDelete,
ListEdit,
RefreshTab,
EditConfig,
SelectNext,
SelectPrev,
SelectConfirm,
ColNext,
ColPrev,
RowNext,
RowPrev,
SplitAddRow,
SplitRemoveRow,
CompleteCommandLine,
DateStepBack,
DateStepForward,
}Variants§
Quit
NextTab
PreviousTab
SelectTab(Tab)
OpenCommandLine
CloseTopmost
SubmitCommandLine
ConfirmYes
Confirm the topmost confirm overlay (equivalent to pressing y).
InsertChar(char)
DeleteBackward
MoveLeft
MoveRight
MoveHome
MoveEnd
KillToEnd
KillWordBackward
Vim(VimAction)
ToggleEditMode
OpenHelp
ConsoleFocus
ConsoleBlur
ConsoleSubmit
ConsoleInterrupt
ConsoleHistoryPrev
ConsoleHistoryNext
ConsoleCyclePane
ScrollLineUp
ScrollLineDown
ScrollPageUp
ScrollPageDown
ListSelectNext
ListSelectPrev
ListDelete
Delete the currently selected list item (pushes a confirm overlay).
ListEdit
Open the tag editor for the currently selected list item.
RefreshTab
EditConfig
SelectNext
SelectPrev
SelectConfirm
ColNext
Splits: move focus to next column within the focused row.
ColPrev
Splits: move focus to previous column within the focused row.
RowNext
Splits: move focus to next row.
RowPrev
Splits: move focus to previous row.
SplitAddRow
Splits: append a new blank row.
SplitRemoveRow
Splits: remove the focused row (minimum 1 kept).
CompleteCommandLine
Complete the current command-palette token (Tab in the command line).
DateStepBack
Step the focused Date field forward by one day (Up key).
DateStepForward
Step the focused Date field forward by one day (Down key).
Trait Implementations§
impl Copy for Intent
impl Eq for Intent
impl StructuralPartialEq for Intent
Auto Trait Implementations§
impl Freeze for Intent
impl RefUnwindSafe for Intent
impl Send for Intent
impl Sync for Intent
impl Unpin for Intent
impl UnsafeUnpin for Intent
impl UnwindSafe for Intent
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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