pub enum TabVariant {
Primary,
Secondary,
}Expand description
Visual variants for tabs component.
Variants§
Primary
Primary tabs (filled background, more prominent)
Secondary
Secondary tabs (outlined style, less prominent)
Trait Implementations§
Source§impl Clone for TabVariant
impl Clone for TabVariant
Source§fn clone(&self) -> TabVariant
fn clone(&self) -> TabVariant
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for TabVariant
impl PartialEq for TabVariant
impl Copy for TabVariant
impl StructuralPartialEq for TabVariant
Auto Trait Implementations§
impl Freeze for TabVariant
impl RefUnwindSafe for TabVariant
impl Send for TabVariant
impl Sync for TabVariant
impl Unpin for TabVariant
impl UnsafeUnpin for TabVariant
impl UnwindSafe for TabVariant
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