Enum vulkano::image::view::ImageViewCreationError [−][src]
pub enum ImageViewCreationError { AllocError(DeviceMemoryAllocError), ArrayLayersOutOfRange, MipMapLevelsOutOfRange, IncompatibleType, InvalidImageUsage, }
Expand description
Error that can happen when creating an image view.
Variants
AllocError(DeviceMemoryAllocError)
Allocating memory failed.
The specified range of array layers was out of range for the image.
The specified range of mipmap levels was out of range for the image.
The requested ImageViewType
was not compatible with the image, or with the specified ranges of array layers and mipmap levels.
The image was not created with one of the required usages for image views.
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ImageViewCreationError
impl Send for ImageViewCreationError
impl Sync for ImageViewCreationError
impl Unpin for ImageViewCreationError
impl UnwindSafe for ImageViewCreationError
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.