pub enum Intent {
Show 122 variants
Quit,
QuitNow,
CloseOrQuit,
NextWindow,
PrevWindow,
ToggleZoom,
SizeWindow,
Drag(Change),
DragDone,
DragCancel,
Tile,
Cascade,
NextField,
PrevField,
NewRow,
DeleteRow,
SelectTab(Tab),
NewWindow(Tab),
SelectWindow(u8),
RaiseWindow(WindowId),
OpenCommandLine,
CloseTopmost,
CloseWindow,
CloseAll,
Submit,
Press,
ConfirmYes,
InsertChar(char),
DeleteBackward,
MoveLeft,
MoveRight,
MoveHome,
MoveEnd,
MoveUp,
MoveDown,
InsertNewline,
KillToEnd,
KillWordBackward,
MoveWordForward,
MoveWordBackward,
DeleteForward,
DeleteWordForward,
EnterNormalMode,
InsertAtCursor,
InsertAfterCursor,
InsertAtLineStart,
InsertAtLineEnd,
OpenHelp,
OpenMenu,
CloseMenu,
MenuNext,
MenuPrev,
MenuFirst,
MenuLast,
MenuLeft,
MenuRight,
MenuSelect,
ConsoleFocus,
ConsoleBlur,
ConsoleSubmit,
ConsoleInterrupt,
ConsoleHistoryPrev,
ConsoleHistoryNext,
ConsoleCyclePane,
ScrollLineUp,
ScrollLineDown,
ScrollPageUp,
ScrollPageDown,
ScrollTop,
ScrollEnd,
ListSelectNext,
ListSelectPrev,
ListSelectFirst,
ListSelectLast,
ListSelectRow(usize),
ListViewDown,
ListViewUp,
ListPageNext,
ListPagePrev,
ListFilter,
ListFilterClear,
ListMark,
ListUnmarkAll,
ListDeleteMarked,
EditRow,
ListDetail,
DetailEdit,
ListMergeAccount,
ListAccountTransactions,
RefreshTab,
ReportNew(ReportKind),
ReportChart,
ReportCsv,
CsvCopy,
CsvSave,
Template(TemplateKey),
Script(ScriptKey),
SelectNext,
SelectPrev,
SelectConfirm,
SelectOpen,
SelectCancel,
SelectPick(usize),
SelectPageUp,
SelectPageDown,
CellNext,
CellPrev,
CellUp,
CellDown,
RowNext,
RowPrev,
SplitAddRow,
SplitRemoveRow,
ToggleSplitTags,
CompleteSuggestion,
OpenFilterBuilder,
Builder(BuilderKey),
OpenOptions,
ApplyOptions,
CompleteCommandLine,
DateStepBack,
DateStepForward,
}Variants§
Quit
Ask before leaving the application.
QuitNow
Leave the application at once.
CloseOrQuit
Close the front window, or ask before leaving when none is open.
NextWindow
Bring the rearmost window to the front.
PrevWindow
Send the front window to the back.
ToggleZoom
Zoom the front window to the desktop, or restore it.
SizeWindow
Start moving or sizing the front window from the keyboard.
Drag(Change)
A step of moving or sizing the window.
DragDone
Keep the window as moved or sized.
DragCancel
Put the window back as it was before the move or size.
Tile
Lay every window out side by side over the desktop.
Cascade
Stack every window from the desktop corner, each one step further in.
NextField
PrevField
NewRow
Create a row in the active tab: an account’s transaction, a config key, an SSH key, a tag, a template or a script.
DeleteRow
Delete the selected row of the active tab.
SelectTab(Tab)
NewWindow(Tab)
Open a new window of a view.
SelectWindow(u8)
Raise the window with this TV number.
RaiseWindow(WindowId)
Raise this window; the entries of the Window list.
OpenCommandLine
CloseTopmost
CloseWindow
Close the front window.
CloseAll
Close every window.
Submit
Press
Enter on a form: presses the focused button, else submits.
ConfirmYes
Confirm the topmost confirm overlay (equivalent to pressing y).
InsertChar(char)
Enter on a confirm overlay: confirms, but the discard prompt cancels.
DeleteBackward
MoveLeft
MoveRight
MoveHome
MoveEnd
MoveUp
MoveDown
InsertNewline
KillToEnd
KillWordBackward
MoveWordForward
MoveWordBackward
DeleteForward
DeleteWordForward
EnterNormalMode
Leave typing for the command line’s normal mode.
InsertAtCursor
InsertAfterCursor
InsertAtLineStart
InsertAtLineEnd
OpenHelp
OpenMenu
CloseMenu
MenuNext
MenuPrev
MenuFirst
MenuLast
MenuLeft
MenuRight
MenuSelect
ConsoleFocus
ConsoleBlur
ConsoleSubmit
ConsoleInterrupt
ConsoleHistoryPrev
ConsoleHistoryNext
ConsoleCyclePane
ScrollLineUp
ScrollLineDown
ScrollPageUp
ScrollPageDown
ScrollTop
ScrollEnd
ListSelectNext
ListSelectPrev
ListSelectFirst
ListSelectLast
ListSelectRow(usize)
Select the row at this index among the rows the view holds (a click).
ListViewDown
ListViewUp
ListPageNext
ListPagePrev
ListFilter
Open the Transactions filter form.
ListFilterClear
Drop the Transactions filter.
ListMark
ListUnmarkAll
ListDeleteMarked
EditRow
Open the edit form of the selected row of the active tab.
ListDetail
Open the read-only detail of the selected transaction.
DetailEdit
Edit the transaction shown in the detail window.
ListMergeAccount
Open account-merge with From set to the selected account.
ListAccountTransactions
Open the Transactions tab filtered to the selected account.
RefreshTab
ReportNew(ReportKind)
Open a report form with defaults.
ReportChart
Switch the Reports tab between the table and the chart.
ReportCsv
Fetch the shown category report as CSV.
CsvCopy
Copy the shown CSV to the clipboard (OSC 52).
CsvSave
Ask for a path and save the shown CSV there.
Template(TemplateKey)
A template key; see TemplateKey.
Script(ScriptKey)
A script key; see ScriptKey.
SelectNext
SelectPrev
SelectConfirm
SelectOpen
SelectCancel
SelectPick(usize)
Close the open list on the option at this index among those shown (a click).
SelectPageUp
SelectPageDown
CellNext
Splits: move focus to next column within the focused row; at the last cell the form moves to its next field.
CellPrev
Splits: move focus to previous column within the focused row; at the first cell the form moves to its previous field.
CellUp
Up in a Splits or Rows cell: steps a select cell’s options, else walks to the previous row.
CellDown
Down in a Splits or Rows cell: steps a select cell’s options, else walks to the next 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).
ToggleSplitTags
Ctrl-T in a form: tests the template being edited, else opens the focused split’s tag list or goes back to the splits.
CompleteSuggestion
Tag list: fill the focused cell with its next suggestion.
OpenFilterBuilder
Builder(BuilderKey)
OpenOptions
The menu entry that opens the Options dialog.
ApplyOptions
The Apply button of the Options dialog.
CompleteCommandLine
Complete the current command-palette token (Tab in the command line).
DateStepBack
Step the focused Date field back by one day (Up key).
DateStepForward
Step the focused Date field forward by one day (Down key).
Implementations§
Source§impl Intent
impl Intent
Sourcepub fn name(&self) -> Option<(&'static str, Option<String>)>
pub fn name(&self) -> Option<(&'static str, Option<String>)>
The keymap name and argument; None for an intent no key can be bound to.
Sourcepub fn label(&self) -> Option<&'static str>
pub fn label(&self) -> Option<&'static str>
The label of a hint or menu item; None for an intent no key can be bound to.
Sourcepub fn description(&self) -> Option<&'static str>
pub fn description(&self) -> Option<&'static str>
One line for the help; None for an intent no key can be bound to.
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<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for Swhere
T: Real + Zero + Arithmetics + Clone,
Swp: WhitePoint<T>,
Dwp: WhitePoint<T>,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for Swhere
T: Real + Zero + Arithmetics + Clone,
Swp: WhitePoint<T>,
Dwp: WhitePoint<T>,
D: AdaptFrom<S, Swp, Dwp, T>,
Source§fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<T>,
fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<T>,
replaced by palette::chromatic_adaptation::AdaptIntoUnclamped
Source§fn adapt_into(self) -> D
fn adapt_into(self) -> D
replaced by palette::chromatic_adaptation::AdaptIntoUnclamped
Source§impl<T, C> AdaptIntoUnclamped<T> for Cwhere
T: AdaptFromUnclamped<C>,
impl<T, C> AdaptIntoUnclamped<T> for Cwhere
T: AdaptFromUnclamped<C>,
Source§type Scalar = <T as AdaptFromUnclamped<C>>::Scalar
type Scalar = <T as AdaptFromUnclamped<C>>::Scalar
Source§fn adapt_into_unclamped_with<M>(self) -> Twhere
M: LmsToXyz<<C as AdaptIntoUnclamped<T>>::Scalar> + XyzToLms<<C as AdaptIntoUnclamped<T>>::Scalar>,
fn adapt_into_unclamped_with<M>(self) -> Twhere
M: LmsToXyz<<C as AdaptIntoUnclamped<T>>::Scalar> + XyzToLms<<C as AdaptIntoUnclamped<T>>::Scalar>,
Source§impl<T, C> ArraysFrom<C> for Twhere
C: IntoArrays<T>,
impl<T, C> ArraysFrom<C> for Twhere
C: IntoArrays<T>,
Source§fn arrays_from(colors: C) -> T
fn arrays_from(colors: C) -> T
Source§impl<T, C> ArraysInto<C> for Twhere
C: FromArrays<T>,
impl<T, C> ArraysInto<C> for Twhere
C: FromArrays<T>,
Source§fn arrays_into(self) -> C
fn arrays_into(self) -> C
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
Source§impl<WpParam, T, U> Cam16IntoUnclamped<WpParam, T> for Uwhere
T: FromCam16Unclamped<WpParam, U>,
impl<WpParam, T, U> Cam16IntoUnclamped<WpParam, T> for Uwhere
T: FromCam16Unclamped<WpParam, U>,
Source§type Scalar = <T as FromCam16Unclamped<WpParam, U>>::Scalar
type Scalar = <T as FromCam16Unclamped<WpParam, U>>::Scalar
parameters when converting.Source§fn cam16_into_unclamped(
self,
parameters: BakedParameters<WpParam, <U as Cam16IntoUnclamped<WpParam, T>>::Scalar>,
) -> T
fn cam16_into_unclamped( self, parameters: BakedParameters<WpParam, <U as Cam16IntoUnclamped<WpParam, T>>::Scalar>, ) -> T
self into C, using the provided parameters.impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, C> ComponentsFrom<C> for Twhere
C: IntoComponents<T>,
impl<T, C> ComponentsFrom<C> for Twhere
C: IntoComponents<T>,
Source§fn components_from(colors: C) -> T
fn components_from(colors: C) -> T
§impl<T> Conv for T
impl<T> Conv for T
§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
key and return true if they are equal.§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self to use its Binary implementation when Debug-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self to use its Display implementation when
Debug-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self to use its LowerExp implementation when
Debug-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self to use its LowerHex implementation when
Debug-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self to use its Octal implementation when Debug-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self to use its Pointer implementation when
Debug-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self to use its UpperExp implementation when
Debug-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self to use its UpperHex implementation when
Debug-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
Source§impl<T> FromAngle<T> for T
impl<T> FromAngle<T> for T
Source§fn from_angle(angle: T) -> T
fn from_angle(angle: T) -> T
angle.Source§impl<T, U> FromStimulus<U> for Twhere
U: IntoStimulus<T>,
impl<T, U> FromStimulus<U> for Twhere
U: IntoStimulus<T>,
Source§fn from_stimulus(other: U) -> T
fn from_stimulus(other: U) -> T
other into Self, while performing the appropriate scaling,
rounding and clamping.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T, U> IntoAngle<U> for Twhere
U: FromAngle<T>,
impl<T, U> IntoAngle<U> for Twhere
U: FromAngle<T>,
Source§fn into_angle(self) -> U
fn into_angle(self) -> U
T.Source§impl<WpParam, T, U> IntoCam16Unclamped<WpParam, T> for Uwhere
T: Cam16FromUnclamped<WpParam, U>,
impl<WpParam, T, U> IntoCam16Unclamped<WpParam, T> for Uwhere
T: Cam16FromUnclamped<WpParam, U>,
Source§type Scalar = <T as Cam16FromUnclamped<WpParam, U>>::Scalar
type Scalar = <T as Cam16FromUnclamped<WpParam, U>>::Scalar
parameters when converting.Source§fn into_cam16_unclamped(
self,
parameters: BakedParameters<WpParam, <U as IntoCam16Unclamped<WpParam, T>>::Scalar>,
) -> T
fn into_cam16_unclamped( self, parameters: BakedParameters<WpParam, <U as IntoCam16Unclamped<WpParam, T>>::Scalar>, ) -> T
self into C, using the provided parameters.Source§impl<T, U> IntoColor<U> for Twhere
U: FromColor<T>,
impl<T, U> IntoColor<U> for Twhere
U: FromColor<T>,
Source§fn into_color(self) -> U
fn into_color(self) -> U
Source§impl<T, U> IntoColorUnclamped<U> for Twhere
U: FromColorUnclamped<T>,
impl<T, U> IntoColorUnclamped<U> for Twhere
U: FromColorUnclamped<T>,
Source§fn into_color_unclamped(self) -> U
fn into_color_unclamped(self) -> U
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> ⓘ
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> ⓘ
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 moreSource§impl<T> IntoStimulus<T> for T
impl<T> IntoStimulus<T> for T
Source§fn into_stimulus(self) -> T
fn into_stimulus(self) -> T
self into T, while performing the appropriate scaling,
rounding and clamping.§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self, then passes self.as_ref() into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self, then passes self.as_mut() into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self, then passes self.deref() into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B> of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B> of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R> view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R> view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap() only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut() only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow() only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut() only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref() only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut() only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref() only in debug builds, and is erased in release
builds.Source§impl<T, C> TryComponentsInto<C> for Twhere
C: TryFromComponents<T>,
impl<T, C> TryComponentsInto<C> for Twhere
C: TryFromComponents<T>,
Source§type Error = <C as TryFromComponents<T>>::Error
type Error = <C as TryFromComponents<T>>::Error
try_into_colors fails to cast.Source§fn try_components_into(self) -> Result<C, <T as TryComponentsInto<C>>::Error>
fn try_components_into(self) -> Result<C, <T as TryComponentsInto<C>>::Error>
§impl<T> TryConv for T
impl<T> TryConv for T
Source§impl<T, U> TryIntoColor<U> for Twhere
U: TryFromColor<T>,
impl<T, U> TryIntoColor<U> for Twhere
U: TryFromColor<T>,
Source§fn try_into_color(self) -> Result<U, OutOfBounds<U>>
fn try_into_color(self) -> Result<U, OutOfBounds<U>>
OutOfBounds error is returned which contains
the unclamped color. Read more