Struct image_texel::layout::MismatchedPixelError
source · [−]pub struct MismatchedPixelError { /* private fields */ }
Expand description
An error indicating that mending failed due to mismatching pixel attributes.
This struct is used when a layout with dynamic pixel information should be mended into another layout with static information or a more restrictive combination of layouts. One example is the conversion of a dynamic matrix into a statically typed layout.
Trait Implementations
sourceimpl Debug for MismatchedPixelError
impl Debug for MismatchedPixelError
sourceimpl Default for MismatchedPixelError
impl Default for MismatchedPixelError
sourcefn default() -> MismatchedPixelError
fn default() -> MismatchedPixelError
Returns the “default value” for a type. Read more
sourceimpl Hash for MismatchedPixelError
impl Hash for MismatchedPixelError
sourceimpl PartialEq<MismatchedPixelError> for MismatchedPixelError
impl PartialEq<MismatchedPixelError> for MismatchedPixelError
sourcefn eq(&self, other: &MismatchedPixelError) -> bool
fn eq(&self, other: &MismatchedPixelError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MismatchedPixelError) -> bool
fn ne(&self, other: &MismatchedPixelError) -> bool
This method tests for !=
.
impl Eq for MismatchedPixelError
impl StructuralEq for MismatchedPixelError
impl StructuralPartialEq for MismatchedPixelError
Auto Trait Implementations
impl RefUnwindSafe for MismatchedPixelError
impl Send for MismatchedPixelError
impl Sync for MismatchedPixelError
impl Unpin for MismatchedPixelError
impl UnwindSafe for MismatchedPixelError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more