#[repr(usize)]pub enum MaterialStatusColor {
Success = 0,
OnSuccess = 1,
SuccessContainer = 2,
OnSuccessContainer = 3,
Warning = 4,
OnWarning = 5,
WarningContainer = 6,
OnWarningContainer = 7,
}Expand description
The status colors the theme adds to the Material roles, which have no success or warning colors: tonal green and amber, for the severities of InfoBar and InfoBadge.
Variants§
Success = 0
OnSuccess = 1
SuccessContainer = 2
OnSuccessContainer = 3
Warning = 4
OnWarning = 5
WarningContainer = 6
OnWarningContainer = 7
Implementations§
Trait Implementations§
Source§impl Clone for MaterialStatusColor
impl Clone for MaterialStatusColor
impl Copy for MaterialStatusColor
Source§impl Debug for MaterialStatusColor
impl Debug for MaterialStatusColor
impl Eq for MaterialStatusColor
Source§impl Hash for MaterialStatusColor
impl Hash for MaterialStatusColor
Source§impl PartialEq for MaterialStatusColor
impl PartialEq for MaterialStatusColor
impl StructuralPartialEq for MaterialStatusColor
Auto Trait Implementations§
impl Freeze for MaterialStatusColor
impl RefUnwindSafe for MaterialStatusColor
impl Send for MaterialStatusColor
impl Sync for MaterialStatusColor
impl Unpin for MaterialStatusColor
impl UnsafeUnpin for MaterialStatusColor
impl UnwindSafe for MaterialStatusColor
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.