[−][src]Enum vulkano::image::sys::ImageCreationError
Error that can happen when creating an instance.
Variants
AllocError(DeviceMemoryAllocError)
Allocating memory failed.
A wrong number of mipmaps was provided.
The requested number of samples is not supported, or is 0.
Fields of UnsupportedSamplesCount
obtained: u32
The dimensions are too large, or one of the dimensions is 0.
Fields of UnsupportedDimensions
dimensions: ImageDimensions
The requested format is not supported by the Vulkan implementation.
The format is supported, but at least one of the requested usages is not supported.
The shader_storage_image_multisample
feature must be enabled to create such an image.
Trait Implementations
impl Clone for ImageCreationError
[src]
fn clone(&self) -> ImageCreationError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ImageCreationError
[src]
impl Display for ImageCreationError
[src]
impl Eq for ImageCreationError
[src]
impl Error for ImageCreationError
[src]
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
impl From<DeviceMemoryAllocError> for ImageCreationError
[src]
fn from(err: DeviceMemoryAllocError) -> ImageCreationError
[src]
impl From<OomError> for ImageCreationError
[src]
fn from(err: OomError) -> ImageCreationError
[src]
impl PartialEq<ImageCreationError> for ImageCreationError
[src]
fn eq(&self, other: &ImageCreationError) -> bool
[src]
fn ne(&self, other: &ImageCreationError) -> bool
[src]
impl StructuralEq for ImageCreationError
[src]
impl StructuralPartialEq for ImageCreationError
[src]
Auto Trait Implementations
impl RefUnwindSafe for ImageCreationError
impl Send for ImageCreationError
impl Sync for ImageCreationError
impl Unpin for ImageCreationError
impl UnwindSafe for ImageCreationError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Content for T
[src]
fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
fn is_size_suitable(usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,