Enum gfx_hal::image::LayerError [−][src]
pub enum LayerError { NotExpected(Kind), OutOfBounds, }
An error associated with selected image layer.
Variants
NotExpected(Kind)
The source image kind doesn’t support array slices.
Selected layers are outside of the provided range.
Trait Implementations
impl Clone for LayerError
[src]
impl Clone for LayerError
[src]fn clone(&self) -> LayerError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Error for LayerError
[src]
impl Error for LayerError
[src]impl From<LayerError> for ViewCreationError
[src]
impl From<LayerError> for ViewCreationError
[src]fn from(source: LayerError) -> Self
[src]
impl PartialEq<LayerError> for LayerError
[src]
impl PartialEq<LayerError> for LayerError
[src]fn eq(&self, other: &LayerError) -> bool
[src]
fn ne(&self, other: &LayerError) -> bool
[src]
impl StructuralPartialEq for LayerError
[src]
impl StructuralPartialEq for LayerError
[src]Auto Trait Implementations
impl RefUnwindSafe for LayerError
impl RefUnwindSafe for LayerError
impl Send for LayerError
impl Send for LayerError
impl Sync for LayerError
impl Sync for LayerError
impl Unpin for LayerError
impl Unpin for LayerError
impl UnwindSafe for LayerError
impl UnwindSafe for LayerError