pub enum TabsStyle {
Automatic,
TabBar,
Navigation,
}Expand description
How a Tabs shows its tabs, where the platform has more than one way
(GNOME and KDE). The others show theirs, and ignore it.
Variants§
Automatic
The platform’s own: navigation tabs on GNOME and KDE.
TabBar
A tab bar over the pages: GTK’s gtk::Notebook, Qt’s
QQC2.TabBar.
Navigation tabs above the pages: libadwaita’s inline view switcher
(a tab bar before libadwaita 1.7), Kirigami’s NavigationTabBar.
Trait Implementations§
impl Copy for TabsStyle
impl Eq for TabsStyle
impl StructuralPartialEq for TabsStyle
Auto Trait Implementations§
impl Freeze for TabsStyle
impl RefUnwindSafe for TabsStyle
impl Send for TabsStyle
impl Sync for TabsStyle
impl Unpin for TabsStyle
impl UnsafeUnpin for TabsStyle
impl UnwindSafe for TabsStyle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more