pub enum InlineItemKind {
Item,
Header,
Setting,
Action,
Hint,
}Expand description
Role of a list row, used by the renderer to pick emphasis and spacing.
Defaults to InlineItemKind::Item so existing callers keep today’s look
until they opt into a more specific kind.
Variants§
Item
Ordinary selectable (or non-selectable) row.
Header
Non-selectable section header (bold title, blank gap above).
Setting
Config key row: title is the label, value is the live setting value.
Action
Imperative row (Reset, Reload, Back, Pick model, …).
Hint
Non-selectable note (dimmed).
Trait Implementations§
Source§impl Clone for InlineItemKind
impl Clone for InlineItemKind
impl Copy for InlineItemKind
Source§impl Debug for InlineItemKind
impl Debug for InlineItemKind
Source§impl Default for InlineItemKind
impl Default for InlineItemKind
impl Eq for InlineItemKind
Source§impl PartialEq for InlineItemKind
impl PartialEq for InlineItemKind
impl StructuralPartialEq for InlineItemKind
Auto Trait Implementations§
impl Freeze for InlineItemKind
impl RefUnwindSafe for InlineItemKind
impl Send for InlineItemKind
impl Sync for InlineItemKind
impl Unpin for InlineItemKind
impl UnsafeUnpin for InlineItemKind
impl UnwindSafe for InlineItemKind
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.