iced_aw/widget/tabs/
tab_bar_position.rs

1//! A [`TabBarPosition`] for defining the position of a [`TabBar`](crate::widget::tab_bar::TabBar).
2//!
3//! *This API requires the following crate features to be activated: tabs*
4
5/// A [`TabBarPosition`] for defining the position of a [`TabBar`](crate::widget::tab_bar::TabBar).
6#[derive(Clone, Hash)]
7#[allow(missing_debug_implementations)]
8pub enum TabBarPosition {
9    /// A [`TabBarPosition`] for placing the [`TabBar`](crate::widget::tab_bar::TabBar)
10    ///  on top of its content.
11    Top,
12
13    /// A [`TabBarPosition`] for placing the [`TabBar`](crate::widget::tab_bar::TabBar)
14    ///  on bottom of its content.
15    Bottom,
16}