pub enum Variant {
Solid,
Bordered,
Light,
Flat,
Faded,
Shadow,
Ghost,
}Expand description
Visual style of buttons and chips.
Variants§
Solid
Filled with the color.
Bordered
Outlined with the color.
Light
Transparent until hovered.
Flat
A soft tint of the color.
Faded
Neutral fill and border, colored text.
Shadow
Solid with a colored glow.
Ghost
Outlined, filled on hover.
Trait Implementations§
impl Copy for Variant
impl Eq for Variant
impl StructuralPartialEq for Variant
Auto Trait Implementations§
impl Forget for Variant
impl Freeze for Variant
impl Move for Variant
impl RefUnwindSafe for Variant
impl Send for Variant
impl Sync for Variant
impl Unpin for Variant
impl UnsafeUnpin for Variant
impl UnwindSafe for Variant
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