ferroui_controls/page/bar_layout_behavior.rs
1
2/// Defines how a bar (such as a navigation bar or drawer header) is laid out
3/// relative to page content.
4#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
5#[repr(i32)]
6pub enum BarLayoutBehavior {
7 /// The bar occupies its own layout space and content is placed below it.
8 Inset = 0,
9
10 /// The bar overlays the content area without consuming layout space.
11 Overlay = 1,
12}