pub enum SettingsPrompt {
AddColumn(String),
NewBoard(String),
RenameBoard {
old: String,
buffer: String,
},
ConfirmDeleteBoard {
name: String,
referencing: usize,
},
SetEditor(String),
SetViewer(String),
AddType(String),
AddAttribute(String),
}Expand description
An active inline prompt inside the Config mode.
Variants§
AddColumn(String)
Naming a new column (a).
NewBoard(String)
Naming a new board (n).
RenameBoard
Renaming the current board (e), seeded with its current name.
ConfirmDeleteBoard
Confirming deletion of the current board (x), naming how many issues
reference it (always 0 today: nothing in issue frontmatter names a
board, but the count is reported rather than assumed).
Fields
SetEditor(String)
Setting the $EDITOR override in tix.toml.
SetViewer(String)
Setting the read-only viewer of the TUI’s v key in tix.toml
(tix #1507).
AddType(String)
Naming a new custom_types entry (n in the Types section).
AddAttribute(String)
Naming a new [custom_attributes].keys entry (n in the Custom
attributes section).
Implementations§
Trait Implementations§
Source§impl Clone for SettingsPrompt
impl Clone for SettingsPrompt
Source§impl Debug for SettingsPrompt
impl Debug for SettingsPrompt
impl Eq for SettingsPrompt
Source§impl PartialEq for SettingsPrompt
impl PartialEq for SettingsPrompt
impl StructuralPartialEq for SettingsPrompt
Auto Trait Implementations§
impl Freeze for SettingsPrompt
impl RefUnwindSafe for SettingsPrompt
impl Send for SettingsPrompt
impl Sync for SettingsPrompt
impl Unpin for SettingsPrompt
impl UnsafeUnpin for SettingsPrompt
impl UnwindSafe for SettingsPrompt
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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