Enum sunbeam_ir::ModifierError
source · pub enum ModifierError {
AlreadySet(ModifierKind),
}
Expand description
An error while setting modifiers.
Variants§
AlreadySet(ModifierKind)
Modifier was already enabled.
Trait Implementations§
source§impl Debug for ModifierError
impl Debug for ModifierError
source§impl Display for ModifierError
impl Display for ModifierError
source§impl Error for ModifierError
impl Error for ModifierError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 RefUnwindSafe for ModifierError
impl Send for ModifierError
impl Sync for ModifierError
impl Unpin for ModifierError
impl UnwindSafe for ModifierError
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