Enum fast_image_resize::MappingError
source · pub enum MappingError {
DifferentDimensions,
UnsupportedCombinationOfImageTypes,
}
Variants§
Trait Implementations§
source§impl Clone for MappingError
impl Clone for MappingError
source§fn clone(&self) -> MappingError
fn clone(&self) -> MappingError
Returns a copy 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 MappingError
impl Debug for MappingError
source§impl Display for MappingError
impl Display for MappingError
source§impl Error for MappingError
impl Error for MappingError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<DifferentDimensionsError> for MappingError
impl From<DifferentDimensionsError> for MappingError
source§fn from(_: DifferentDimensionsError) -> Self
fn from(_: DifferentDimensionsError) -> Self
Converts to this type from the input type.
source§impl PartialEq for MappingError
impl PartialEq for MappingError
source§fn eq(&self, other: &MappingError) -> bool
fn eq(&self, other: &MappingError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MappingError
impl Eq for MappingError
impl StructuralPartialEq for MappingError
Auto Trait Implementations§
impl RefUnwindSafe for MappingError
impl Send for MappingError
impl Sync for MappingError
impl Unpin for MappingError
impl UnwindSafe for MappingError
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