Struct broot::display::Areas [−][src]
pub struct Areas {
pub state: Area,
pub status: Area,
pub input: Area,
pub purpose: Option<Area>,
pub pos_idx: usize,
pub nb_pos: usize,
}
Expand description
the areas of the various parts of a panel. It’s also where a state usually checks how many panels there are, and their respective positions
Fields
state: Area
status: Area
input: Area
purpose: Option<Area>
pos_idx: usize
nb_pos: usize
Implementations
compute an area for a new panel which will be inserted
pub fn resize_all(
panels: &mut [Panel],
screen: Screen,
with_preview: bool
) -> Result<(), ProgramError>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Areas
impl UnwindSafe for Areas
Blanket Implementations
Mutably borrows from an owned value. Read more