pub enum MaterialAndroidColorSource {
Android31TonalPalette,
Android34ColorRoles,
}Expand description
Which native Android resource contract supplied a dynamic color scheme.
Variants§
Android31TonalPalette
Android 12/13: the five wallpaper tonal palettes, with AndroidX neutral tones.
Android34ColorRoles
Android 14 and later: complete system roles, including the device’s contrast adjustments.
Trait Implementations§
Source§impl Clone for MaterialAndroidColorSource
impl Clone for MaterialAndroidColorSource
impl Copy for MaterialAndroidColorSource
Source§impl Debug for MaterialAndroidColorSource
impl Debug for MaterialAndroidColorSource
impl Eq for MaterialAndroidColorSource
impl StructuralPartialEq for MaterialAndroidColorSource
Auto Trait Implementations§
impl Freeze for MaterialAndroidColorSource
impl RefUnwindSafe for MaterialAndroidColorSource
impl Send for MaterialAndroidColorSource
impl Sync for MaterialAndroidColorSource
impl Unpin for MaterialAndroidColorSource
impl UnsafeUnpin for MaterialAndroidColorSource
impl UnwindSafe for MaterialAndroidColorSource
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read moreSource§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§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.