Enum vulkano::buffer::sys::BufferCreationError
[−]
[src]
pub enum BufferCreationError { OomError(OomError), SparseBindingFeatureNotEnabled, SparseResidencyBufferFeatureNotEnabled, SparseResidencyAliasedFeatureNotEnabled, }
Error that can happen when creating a buffer.
Variants
OomError(OomError)
Not enough memory.
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.
Trait Implementations
impl Clone for BufferCreationError
[src]
fn clone(&self) -> BufferCreationError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for BufferCreationError
[src]
impl PartialEq for BufferCreationError
[src]
fn eq(&self, __arg_0: &BufferCreationError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BufferCreationError) -> bool
This method tests for !=
.
impl Eq for BufferCreationError
[src]
impl Error for BufferCreationError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for BufferCreationError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<OomError> for BufferCreationError
[src]
fn from(err: OomError) -> BufferCreationError
Performs the conversion.
impl From<Error> for BufferCreationError
[src]
fn from(err: Error) -> BufferCreationError
Performs the conversion.