pub struct RowView {
pub kind: RowKind,
pub label: String,
pub current: bool,
pub focused: bool,
pub enabled: bool,
}Expand description
One row: a profile, or the row that adds one.
Fields§
§kind: RowKindWhich row it is.
label: StringThe profile’s name, or what the row does.
current: boolWhether it is the profile in use.
focused: boolWhether the cursor is on it.
enabled: boolWhether Confirm does something there (no adding past the most profiles).
Trait Implementations§
impl Eq for RowView
impl StructuralPartialEq for RowView
Auto Trait Implementations§
impl Freeze for RowView
impl RefUnwindSafe for RowView
impl Send for RowView
impl Sync for RowView
impl Unpin for RowView
impl UnsafeUnpin for RowView
impl UnwindSafe for RowView
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