pub enum GlassButtonStyle {
Glass,
Prominent,
Plain,
Destructive,
}Expand description
Visual style of a GlassButton.
Variants§
Glass
Translucent glass with the label in the accent color.
Prominent
Accent-tinted glass with white content — the primary action.
Plain
No material: just the label with press feedback (toolbar/text button).
Destructive
Destructive variant of Plain.
Trait Implementations§
Source§impl Clone for GlassButtonStyle
impl Clone for GlassButtonStyle
impl Copy for GlassButtonStyle
Source§impl Debug for GlassButtonStyle
impl Debug for GlassButtonStyle
Source§impl Default for GlassButtonStyle
impl Default for GlassButtonStyle
impl Eq for GlassButtonStyle
Source§impl PartialEq for GlassButtonStyle
impl PartialEq for GlassButtonStyle
impl StructuralPartialEq for GlassButtonStyle
Auto Trait Implementations§
impl Freeze for GlassButtonStyle
impl RefUnwindSafe for GlassButtonStyle
impl Send for GlassButtonStyle
impl Sync for GlassButtonStyle
impl Unpin for GlassButtonStyle
impl UnsafeUnpin for GlassButtonStyle
impl UnwindSafe for GlassButtonStyle
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