pub enum InvalidColorNotationError {
InvalidColor(String),
}Expand description
An error returned when parsing a string into Color.
Variants§
Trait Implementations§
Source§impl Debug for InvalidColorNotationError
impl Debug for InvalidColorNotationError
Source§impl Display for InvalidColorNotationError
impl Display for InvalidColorNotationError
Source§impl Error for InvalidColorNotationError
impl Error for InvalidColorNotationError
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 InvalidColorNotationError
impl RefUnwindSafe for InvalidColorNotationError
impl Send for InvalidColorNotationError
impl Sync for InvalidColorNotationError
impl Unpin for InvalidColorNotationError
impl UnwindSafe for InvalidColorNotationError
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