Enum huelib::color::ParseHexError [−][src]
pub enum ParseHexError {
InvalidLenght,
ParseInt(ParseIntError),
}
Expand description
Errors that can occur while parsing a hex string to a color.
Variants
Error that occurs when the length of the hex string is invalid.
ParseInt(ParseIntError)
Error that can occur while parsing a int value.
Tuple Fields of ParseInt
Trait Implementations
Performs the conversion.
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 ParseHexError
impl Send for ParseHexError
impl Sync for ParseHexError
impl Unpin for ParseHexError
impl UnwindSafe for ParseHexError
Blanket Implementations
Mutably borrows from an owned value. Read more