pub enum MaterialAndroidColorError {
UnsupportedPlatform,
FeatureDisabled,
ApplicationNotInitialized,
ResourcesUnavailable,
DynamicColorsUnavailable,
IncompletePalette(MaterialDynamicColorError),
}Expand description
A native import failure. Existing theme colors remain installed when an import fails.
Variants§
UnsupportedPlatform
FeatureDisabled
ApplicationNotInitialized
IncompletePalette(MaterialDynamicColorError)
Trait Implementations§
Source§impl Clone for MaterialAndroidColorError
impl Clone for MaterialAndroidColorError
Source§impl Debug for MaterialAndroidColorError
impl Debug for MaterialAndroidColorError
Source§impl Display for MaterialAndroidColorError
impl Display for MaterialAndroidColorError
Source§impl Error for MaterialAndroidColorError
impl Error for MaterialAndroidColorError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<MaterialDynamicColorError> for MaterialAndroidColorError
impl From<MaterialDynamicColorError> for MaterialAndroidColorError
Source§fn from(value: MaterialDynamicColorError) -> Self
fn from(value: MaterialDynamicColorError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for MaterialAndroidColorError
Auto Trait Implementations§
impl Freeze for MaterialAndroidColorError
impl RefUnwindSafe for MaterialAndroidColorError
impl Send for MaterialAndroidColorError
impl Sync for MaterialAndroidColorError
impl Unpin for MaterialAndroidColorError
impl UnsafeUnpin for MaterialAndroidColorError
impl UnwindSafe for MaterialAndroidColorError
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 more