Skip to main content

ferroui_controls/command_bar/
command_bar_overflow_button_visibility.rs

1/// Defines the visibility of the overflow button in a
2/// [`CommandBar`](super::CommandBar).
3#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
4#[repr(i32)]
5pub enum CommandBarOverflowButtonVisibility {
6    /// The overflow button is shown only when secondary commands are
7    /// present.
8    #[default]
9    Auto = 0,
10    /// The overflow button is always shown.
11    Visible = 1,
12    /// The overflow button is never shown.
13    Collapsed = 2,
14}