#[non_exhaustive]pub enum DockTabBar {
Always,
WhenSeveral,
Never,
}Expand description
When a group of a DockArea 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.
Always
Always, even for one panel.
WhenSeveral
Only for more than one panel, leaving a panel alone with just its content.
Never
Never: the panels are columns with no title, which only change size and collapse.
Trait Implementations§
Source§impl Clone for DockTabBar
impl Clone for DockTabBar
Source§fn clone(&self) -> DockTabBar
fn clone(&self) -> DockTabBar
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DockTabBar
Source§impl Debug for DockTabBar
impl Debug for DockTabBar
Source§impl Default for DockTabBar
impl Default for DockTabBar
Source§fn default() -> DockTabBar
fn default() -> DockTabBar
Returns the “default value” for a type. Read more
impl Eq for DockTabBar
Source§impl PartialEq for DockTabBar
impl PartialEq for DockTabBar
impl StructuralPartialEq for DockTabBar
Auto Trait Implementations§
impl Freeze for DockTabBar
impl RefUnwindSafe for DockTabBar
impl Send for DockTabBar
impl Sync for DockTabBar
impl Unpin for DockTabBar
impl UnsafeUnpin for DockTabBar
impl UnwindSafe for DockTabBar
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
impl<T> Brush for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more