#[non_exhaustive]pub enum TabStyle {
Bordered,
Segmented,
}Expand description
How tabs shows its tabs.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Bordered
AppKit’s tab view: tabs along the top of a bordered box, as in System Settings’ older panes and many inspectors.
Segmented
A segmented control above borderless content, as in Finder’s Get Info sections and most modern Mac apps.
Trait Implementations§
impl Copy for TabStyle
impl Eq for TabStyle
impl StructuralPartialEq for TabStyle
Auto Trait Implementations§
impl Forget for TabStyle
impl Freeze for TabStyle
impl Move for TabStyle
impl RefUnwindSafe for TabStyle
impl Send for TabStyle
impl Sync for TabStyle
impl Unpin for TabStyle
impl UnsafeUnpin for TabStyle
impl UnwindSafe for TabStyle
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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