pub enum ColorCreationError {
ParseError(String),
}Expand description
An error that occur when creating a RGBAColor
Variants§
Trait Implementations§
Source§impl Debug for ColorCreationError
impl Debug for ColorCreationError
Source§impl Display for ColorCreationError
impl Display for ColorCreationError
Source§impl Error for ColorCreationError
impl Error for ColorCreationError
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 ColorCreationError
impl RefUnwindSafe for ColorCreationError
impl Send for ColorCreationError
impl Sync for ColorCreationError
impl Unpin for ColorCreationError
impl UnsafeUnpin for ColorCreationError
impl UnwindSafe for ColorCreationError
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