Skip to main content

ferroui_controls/split_view/
split_view_pane_placement.rs

1/// Defines constants for where the pane of a split view should appear.
2#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
3#[repr(i32)]
4pub enum SplitViewPanePlacement {
5    /// The pane is shown to the left of content.
6    #[default]
7    Left = 0,
8
9    /// The pane is shown to the right of content.
10    Right = 1,
11
12    /// The pane is shown above the content.
13    Top = 2,
14
15    /// The pane is shown below the content.
16    Bottom = 3,
17}