pub struct Section {
pub id: String,
pub title: String,
pub height_pct: f32,
pub widgets: Vec<Widget>,
pub collapsed: bool,
pub focused: bool,
}Expand description
TUI section definition
Fields§
§id: StringSection identifier
title: StringSection title
height_pct: f32Height as percentage of total (0.0-1.0)
widgets: Vec<Widget>Widgets in this section
collapsed: boolIs section collapsed
focused: boolIs section focused
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnsafeUnpin for Section
impl UnwindSafe for Section
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