Enum sierra::CreateBufferError [−][src]
pub enum CreateBufferError { OutOfMemory { source: OutOfMemory, }, UnsupportedUsage { usage: BufferUsage, }, }
Expand description
Possible error which can be returned from create_buffer_*
.
Variants
Fields of OutOfMemory
source: OutOfMemory
Fields of UnsupportedUsage
usage: BufferUsage
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 CreateBufferError
impl Send for CreateBufferError
impl Sync for CreateBufferError
impl Unpin for CreateBufferError
impl UnwindSafe for CreateBufferError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more