pub struct TryFromExtendedColorError { /* private fields */ }
Expand description
Converting ExtendedColorType
to ColorType
failed.
This type is convertible to ImageError
as ImageError::Unsupported
.
Trait Implementations§
Source§impl Clone for TryFromExtendedColorError
impl Clone for TryFromExtendedColorError
Source§fn clone(&self) -> TryFromExtendedColorError
fn clone(&self) -> TryFromExtendedColorError
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 TryFromExtendedColorError
impl Debug for TryFromExtendedColorError
Source§impl Display for TryFromExtendedColorError
impl Display for TryFromExtendedColorError
Source§impl Error for TryFromExtendedColorError
impl Error for TryFromExtendedColorError
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()
Source§impl From<TryFromExtendedColorError> for ImageError
impl From<TryFromExtendedColorError> for ImageError
Source§fn from(err: TryFromExtendedColorError) -> ImageError
fn from(err: TryFromExtendedColorError) -> ImageError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TryFromExtendedColorError
impl RefUnwindSafe for TryFromExtendedColorError
impl Send for TryFromExtendedColorError
impl Sync for TryFromExtendedColorError
impl Unpin for TryFromExtendedColorError
impl UnwindSafe for TryFromExtendedColorError
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