Enum vulkano::buffer::sys::BufferCreationError [−][src]
pub enum BufferCreationError {
AllocError(DeviceMemoryAllocError),
SparseBindingFeatureNotEnabled,
SparseResidencyBufferFeatureNotEnabled,
SparseResidencyAliasedFeatureNotEnabled,
DeviceAddressFeatureNotEnabled,
}
Expand description
Error that can happen when creating a buffer.
Variants
AllocError(DeviceMemoryAllocError)
Tuple Fields
Allocating memory failed.
SparseBindingFeatureNotEnabled
Sparse binding was requested but the corresponding feature wasn’t enabled.
SparseResidencyBufferFeatureNotEnabled
Sparse residency was requested but the corresponding feature wasn’t enabled.
SparseResidencyAliasedFeatureNotEnabled
Sparse aliasing was requested but the corresponding feature wasn’t enabled.
DeviceAddressFeatureNotEnabled
Device address was requested but the corresponding feature wasn’t enabled.
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 BufferCreationError
impl Send for BufferCreationError
impl Sync for BufferCreationError
impl Unpin for BufferCreationError
impl UnwindSafe for BufferCreationError
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.