waft_material/compose/pane_adapted_value.rs
1//! How one pane is shown in the current layout.
2
3use crate::compose::ThreePaneScaffoldRole;
4
5/// How one pane is shown in the current layout.
6#[derive(Clone, Copy, Debug, PartialEq, Eq)]
7pub enum PaneAdaptedValue {
8 /// The pane takes its own partition.
9 Expanded,
10 /// The pane is hidden.
11 Hidden,
12 /// The pane is shown under `reflow_under`, at most half its height.
13 Reflowed {
14 /// The pane this one is shown under.
15 reflow_under: ThreePaneScaffoldRole,
16 },
17}