#[non_exhaustive]pub enum TabsVariant {
Underline,
Segmented,
}Expand description
How a Tabs bar looks.
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.
Underline
Labels over a hairline, with a line that slides under the open one.
Segmented
A rounded track with the open tab raised in it, for a few short choices.
Trait Implementations§
Source§impl Clone for TabsVariant
impl Clone for TabsVariant
Source§fn clone(&self) -> TabsVariant
fn clone(&self) -> TabsVariant
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 TabsVariant
Source§impl Debug for TabsVariant
impl Debug for TabsVariant
Source§impl Default for TabsVariant
impl Default for TabsVariant
Source§fn default() -> TabsVariant
fn default() -> TabsVariant
Returns the “default value” for a type. Read more
impl Eq for TabsVariant
Source§impl PartialEq for TabsVariant
impl PartialEq for TabsVariant
impl StructuralPartialEq for TabsVariant
Auto Trait Implementations§
impl Freeze for TabsVariant
impl RefUnwindSafe for TabsVariant
impl Send for TabsVariant
impl Sync for TabsVariant
impl Unpin for TabsVariant
impl UnsafeUnpin for TabsVariant
impl UnwindSafe for TabsVariant
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