Enum glium::buffer::BufferCreationError
[−]
[src]
pub enum BufferCreationError { OutOfMemory, BufferTypeNotSupported, }
Error that can happen when creating a buffer.
Variants
OutOfMemory
Not enough memory to create the buffer.
BufferTypeNotSupported
This type of buffer is not supported.
Trait Implementations
impl Debug for BufferCreationError
[src]
impl Copy for BufferCreationError
[src]
impl Clone for BufferCreationError
[src]
fn clone(&self) -> BufferCreationError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Display for BufferCreationError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for BufferCreationError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more
impl From<BufferCreationError> for CreationError
[src]
fn from(err: BufferCreationError) -> CreationError
[src]
Performs the conversion.
impl From<BufferCreationError> for CreationError
[src]
fn from(err: BufferCreationError) -> CreationError
[src]
Performs the conversion.
impl From<BufferCreationError> for CreationError
[src]
fn from(err: BufferCreationError) -> CreationError
[src]
Performs the conversion.