pub enum ConfigLevel {
Sections,
Index,
Detail,
}Expand description
Which level of the Config mode’s drill-down holds the focus.
The surface is a hierarchy: the section rail (Sections), the active
section’s index of records (Index), and the selected record’s
detail (Detail, drawn over the whole content area with the rail
hidden). h/l (and ←/→) step one level; j/k (and ↓/↑) move
inside the current level.
Variants§
Sections
The left rail: the sections (Dashboards / Cycles / Milestones / …).
Index
The active section’s index of records.
Detail
The selected record’s detail, over the whole content area.
Implementations§
Source§impl ConfigLevel
impl ConfigLevel
Sourcepub const fn deeper(self) -> Self
pub const fn deeper(self) -> Self
The level one step deeper, clamped at ConfigLevel::Detail.
Sourcepub const fn shallower(self) -> Self
pub const fn shallower(self) -> Self
The level one step shallower, clamped at ConfigLevel::Sections.
Trait Implementations§
Source§impl Clone for ConfigLevel
impl Clone for ConfigLevel
impl Copy for ConfigLevel
Source§impl Debug for ConfigLevel
impl Debug for ConfigLevel
Source§impl Default for ConfigLevel
impl Default for ConfigLevel
impl Eq for ConfigLevel
Source§impl PartialEq for ConfigLevel
impl PartialEq for ConfigLevel
impl StructuralPartialEq for ConfigLevel
Auto Trait Implementations§
impl Freeze for ConfigLevel
impl RefUnwindSafe for ConfigLevel
impl Send for ConfigLevel
impl Sync for ConfigLevel
impl Unpin for ConfigLevel
impl UnsafeUnpin for ConfigLevel
impl UnwindSafe for ConfigLevel
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