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
Not enough memory available.
Tuple Fields of OomError
0: OomError
The maximum number of allocations has been exceeded.
Memory map failed.
Invalid Memory Index
Invalid Structure Type
Spec violation, containing the Valid Usage ID (VUID) from the Vulkan spec.
Tuple Fields of SpecViolation
0: u32
An implicit violation that’s convered in the Vulkan spec.
Tuple Fields of ImplicitSpecViolation
0: &'static str
An extension is missing.
Tuple Fields of MissingExtension
0: &'static str
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.