Enum gfx_hal::image::LayerError
source · Expand description
An error associated with selected image layer.
Variants
NotExpected(Kind)
The source image kind doesn’t support array slices.
OutOfBounds(Range<Layer>)
Selected layer is outside of the provided range.
Trait Implementations
sourceimpl Clone for LayerError
impl Clone for LayerError
sourcefn clone(&self) -> LayerError
fn clone(&self) -> LayerError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LayerError
impl Debug for LayerError
sourceimpl Display for LayerError
impl Display for LayerError
sourceimpl Fail for LayerError
impl Fail for LayerError
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresourceimpl Hash for LayerError
impl Hash for LayerError
sourceimpl PartialEq<LayerError> for LayerError
impl PartialEq<LayerError> for LayerError
sourcefn eq(&self, other: &LayerError) -> bool
fn eq(&self, other: &LayerError) -> bool
impl Eq for LayerError
impl StructuralEq for LayerError
impl StructuralPartialEq for LayerError
Auto Trait Implementations
impl RefUnwindSafe for LayerError
impl Send for LayerError
impl Sync for LayerError
impl Unpin for LayerError
impl UnwindSafe for LayerError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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