waft-material 0.16.1

Material Design widgets for Waft
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! How one pane is shown in the current layout.

use crate::compose::ThreePaneScaffoldRole;

/// How one pane is shown in the current layout.
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum PaneAdaptedValue {
    /// The pane takes its own partition.
    Expanded,
    /// The pane is hidden.
    Hidden,
    /// The pane is shown under `reflow_under`, at most half its height.
    Reflowed {
        /// The pane this one is shown under.
        reflow_under: ThreePaneScaffoldRole,
    },
}