pub enum ParseColorError {
InvalidCharCount(usize),
InvalidChar(u8),
}
Variants§
InvalidCharCount(usize)
6 or 8 characters are required Value is the actual amount
InvalidChar(u8)
An invalid character was encountered
Trait Implementations§
Source§impl Clone for ParseColorError
impl Clone for ParseColorError
Source§fn clone(&self) -> ParseColorError
fn clone(&self) -> ParseColorError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ParseColorError
impl Debug for ParseColorError
impl Copy for ParseColorError
Auto Trait Implementations§
impl Freeze for ParseColorError
impl RefUnwindSafe for ParseColorError
impl Send for ParseColorError
impl Sync for ParseColorError
impl Unpin for ParseColorError
impl UnwindSafe for ParseColorError
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