Struct ParseColorError
pub struct ParseColorError { /* private fields */ }
An error from parsing an invalid color specification.
Implementations
impl ParseColorError
fn invalid(&self) -> &strReturn the string that couldn't be parsed as a valid color.
Trait Implementations
impl Clone for ParseColorError
fn clone(&self) -> Self
impl Debug for ParseColorError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for ParseColorError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for ParseColorError
impl Error for ParseColorError
fn description(&self) -> &str
impl PartialEq for ParseColorError
fn eq(&self, other: &Self) -> bool