Enum gfx_hal::image::ViewCreationError [−][src]
pub enum ViewCreationError { OutOfMemory(OutOfMemory), Usage(Usage), Level(Level), Layer(LayerError), BadFormat(Format), BadKind(ViewKind), Unsupported, }
Error creating an ImageView
.
Variants
OutOfMemory(OutOfMemory)
Out of either Host or Device memory
Usage(Usage)
The required usage flag is not present in the image.
Level(Level)
Selected mip level doesn’t exist.
Layer(LayerError)
Selected array layer doesn’t exist.
BadFormat(Format)
An incompatible format was requested for the view.
BadKind(ViewKind)
An incompatible view kind was requested for the view.
The backend refused for some reason.
Trait Implementations
impl Clone for ViewCreationError
[src]
impl Clone for ViewCreationError
[src]fn clone(&self) -> ViewCreationError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Display for ViewCreationError
[src]
impl Display for ViewCreationError
[src]impl Error for ViewCreationError
[src]
impl Error for ViewCreationError
[src]impl From<LayerError> for ViewCreationError
[src]
impl From<LayerError> for ViewCreationError
[src]fn from(source: LayerError) -> Self
[src]
impl From<OutOfMemory> for ViewCreationError
[src]
impl From<OutOfMemory> for ViewCreationError
[src]fn from(source: OutOfMemory) -> Self
[src]
impl PartialEq<ViewCreationError> for ViewCreationError
[src]
impl PartialEq<ViewCreationError> for ViewCreationError
[src]fn eq(&self, other: &ViewCreationError) -> bool
[src]
fn ne(&self, other: &ViewCreationError) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for ViewCreationError
impl RefUnwindSafe for ViewCreationError
impl Send for ViewCreationError
impl Send for ViewCreationError
impl Sync for ViewCreationError
impl Sync for ViewCreationError
impl Unpin for ViewCreationError
impl Unpin for ViewCreationError
impl UnwindSafe for ViewCreationError
impl UnwindSafe for ViewCreationError