Enum sierra::CreateBufferError
source · pub enum CreateBufferError {
OutOfMemory {
source: OutOfMemory,
},
UnsupportedUsage {
usage: BufferUsage,
},
}
Expand description
Possible error which can be returned from create_buffer_*
.
Variants§
Trait Implementations§
source§impl Clone for CreateBufferError
impl Clone for CreateBufferError
source§fn clone(&self) -> CreateBufferError
fn clone(&self) -> CreateBufferError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CreateBufferError
impl Debug for CreateBufferError
source§impl Display for CreateBufferError
impl Display for CreateBufferError
source§impl Error for CreateBufferError
impl Error for CreateBufferError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<OutOfMemory> for CreateBufferError
impl From<OutOfMemory> for CreateBufferError
source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
source§impl PartialEq<CreateBufferError> for CreateBufferError
impl PartialEq<CreateBufferError> for CreateBufferError
source§fn eq(&self, other: &CreateBufferError) -> bool
fn eq(&self, other: &CreateBufferError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.