pub enum ButtonShapeVariant {
Round,
Square,
}Expand description
Defines shape variants for Material 3 Expressive button components.
Variants§
Round
A rounded button shape.
For example, a Material 3 Expressive IconButton with this variant uses
rounder default container shapes.
Square
A squared button shape.
For example, a Material 3 Expressive IconButton with this variant uses
more squared default container shapes.
Trait Implementations§
Source§impl Clone for ButtonShapeVariant
impl Clone for ButtonShapeVariant
impl Copy for ButtonShapeVariant
Source§impl Debug for ButtonShapeVariant
impl Debug for ButtonShapeVariant
impl Eq for ButtonShapeVariant
Source§impl Hash for ButtonShapeVariant
impl Hash for ButtonShapeVariant
Source§impl PartialEq for ButtonShapeVariant
impl PartialEq for ButtonShapeVariant
impl StructuralPartialEq for ButtonShapeVariant
Auto Trait Implementations§
impl Forget for ButtonShapeVariant
impl Freeze for ButtonShapeVariant
impl Move for ButtonShapeVariant
impl RefUnwindSafe for ButtonShapeVariant
impl Send for ButtonShapeVariant
impl Sync for ButtonShapeVariant
impl Unpin for ButtonShapeVariant
impl UnsafeUnpin for ButtonShapeVariant
impl UnwindSafe for ButtonShapeVariant
Blanket Implementations§
Source§impl<T> AnyEq for T
impl<T> AnyEq for T
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.