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§
Source§impl Debug for MismatchedPixelError
impl Debug for MismatchedPixelError
Source§impl Default for MismatchedPixelError
impl Default for MismatchedPixelError
Source§fn default() -> MismatchedPixelError
fn default() -> MismatchedPixelError
Returns the “default value” for a type. Read more
impl Eq for MismatchedPixelError
Source§impl Hash for MismatchedPixelError
impl Hash for MismatchedPixelError
Source§impl PartialEq for MismatchedPixelError
impl PartialEq for MismatchedPixelError
Source§fn eq(&self, other: &MismatchedPixelError) -> bool
fn eq(&self, other: &MismatchedPixelError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MismatchedPixelError
Auto Trait Implementations§
impl Freeze for MismatchedPixelError
impl RefUnwindSafe for MismatchedPixelError
impl Send for MismatchedPixelError
impl Sync for MismatchedPixelError
impl Unpin for MismatchedPixelError
impl UnsafeUnpin for MismatchedPixelError
impl UnwindSafe for MismatchedPixelError
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