ferroui_controls/page/drawer_layout_behavior.rs
1/// Defines the layout behavior of the drawer page.
2#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
3#[repr(i32)]
4pub enum DrawerLayoutBehavior {
5 /// The drawer overlays the detail content when open.
6 Overlay = 0,
7
8 /// The drawer and detail content are shown side by side when open.
9 Split = 1,
10
11 /// A narrow rail strip is always visible; opening expands as an overlay
12 /// over the detail content.
13 CompactOverlay = 2,
14
15 /// A narrow rail strip is always visible; opening expands and pushes
16 /// the detail content aside.
17 CompactInline = 3,
18}