Enum piet_common::ColorParseError [−][src]
Expand description
Errors that can occur when parsing a hex color.
Variants
WrongSize(usize)
The input string has an incorrect length
Tuple Fields of WrongSize
0: usize
A byte in the input string is not in one of the ranges 0..=9
,
a..=f
, or A..=F
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ColorParseError
impl Send for ColorParseError
impl Sync for ColorParseError
impl Unpin for ColorParseError
impl UnwindSafe for ColorParseError
Blanket Implementations
Mutably borrows from an owned value. Read more
Performs the conversion.
Performs the conversion.