Enum vulkano::memory::DeviceMemoryAllocError [−][src]
pub enum DeviceMemoryAllocError { OomError(OomError), TooManyObjects, MemoryMapFailed, MemoryIndexInvalid, StructureTypeAlreadyPresent, SpecViolation(u32), ImplicitSpecViolation(&'static str), MissingExtension(&'static str), InvalidSize, }
Expand description
Error type returned by functions related to DeviceMemory
.
Variants
OomError(OomError)
Not enough memory available.
The maximum number of allocations has been exceeded.
Memory map failed.
Invalid Memory Index
Invalid Structure Type
SpecViolation(u32)
Spec violation, containing the Valid Usage ID (VUID) from the Vulkan spec.
ImplicitSpecViolation(&'static str)
An implicit violation that’s convered in the Vulkan spec.
MissingExtension(&'static str)
An extension is missing.
Invalid Size
Trait Implementations
Performs the conversion.
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 DeviceMemoryAllocError
impl Send for DeviceMemoryAllocError
impl Sync for DeviceMemoryAllocError
impl Unpin for DeviceMemoryAllocError
impl UnwindSafe for DeviceMemoryAllocError
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.