pub enum TriageControl {
Queue,
Status,
Assignee,
New,
}Expand description
Which control of the Triage mode’s toolbar has the focus (tui-triage-mode).
The mode’s horizontal axis: h/l and ←/→ walk these four and clamp at
the ends. The queue is a control rather than “the absence of one” so the
default focus has a visible home on the bar, and enter activates whatever
is focused — nothing at all for Self::Queue, whose keys (j/k,
space, a/d/u/f/p) act directly on the list and need no
activation step.
Variants§
Queue
The queue itself.
Status
The status picker (s).
Assignee
The assignee picker (@).
New
The inline create prompt (n).
Implementations§
Trait Implementations§
Source§impl Clone for TriageControl
impl Clone for TriageControl
impl Copy for TriageControl
Source§impl Debug for TriageControl
impl Debug for TriageControl
Source§impl Default for TriageControl
impl Default for TriageControl
impl Eq for TriageControl
Source§impl PartialEq for TriageControl
impl PartialEq for TriageControl
impl StructuralPartialEq for TriageControl
Auto Trait Implementations§
impl Freeze for TriageControl
impl RefUnwindSafe for TriageControl
impl Send for TriageControl
impl Sync for TriageControl
impl Unpin for TriageControl
impl UnsafeUnpin for TriageControl
impl UnwindSafe for TriageControl
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