pub enum StyleVariant {
Material3,
Material3Expressive,
}Expand description
Defines the Material Design style variant used by Material components.
Variants§
Material3
The Material Design 3 style variant.
Material3Expressive
The Material Design 3 Expressive style variant.
Material 3 Expressive support is under development. Apps or components that opt into this variant may see visual changes as more Expressive features get added.
See also:
- Material Design 3 Expressive updates for design guidelines.
Trait Implementations§
Source§impl Clone for StyleVariant
impl Clone for StyleVariant
impl Copy for StyleVariant
Source§impl Debug for StyleVariant
impl Debug for StyleVariant
impl Eq for StyleVariant
Source§impl Hash for StyleVariant
impl Hash for StyleVariant
Source§impl PartialEq for StyleVariant
impl PartialEq for StyleVariant
impl StructuralPartialEq for StyleVariant
Auto Trait Implementations§
impl Forget for StyleVariant
impl Freeze for StyleVariant
impl Move for StyleVariant
impl RefUnwindSafe for StyleVariant
impl Send for StyleVariant
impl Sync for StyleVariant
impl Unpin for StyleVariant
impl UnsafeUnpin for StyleVariant
impl UnwindSafe for StyleVariant
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.