pub enum DarkModeVariantError {
EmptyClass,
ConflictingStates,
}
Expand description
Errors that can occur when working with dark mode variants
Variants§
Trait Implementations§
Source§impl Debug for DarkModeVariantError
impl Debug for DarkModeVariantError
Source§impl Display for DarkModeVariantError
impl Display for DarkModeVariantError
Source§impl Error for DarkModeVariantError
impl Error for DarkModeVariantError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for DarkModeVariantError
impl RefUnwindSafe for DarkModeVariantError
impl Send for DarkModeVariantError
impl Sync for DarkModeVariantError
impl Unpin for DarkModeVariantError
impl UnwindSafe for DarkModeVariantError
Blanket Implementations§
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