Enum glium::index::BufferCreationError
[−]
[src]
pub enum BufferCreationError { IndexTypeNotSupported, PrimitiveTypeNotSupported, BufferCreationError(BufferCreationError), }
Error that can happen while creating an index buffer.
Variants
IndexTypeNotSupported
The type of index is not supported by the backend.
PrimitiveTypeNotSupported
The type of primitives is not supported by the backend.
BufferCreationError(BufferCreationError)
An error happened while creating the buffer.
Trait Implementations
impl Debug for CreationError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src][−]
Formats the value using the given formatter.
impl Copy for CreationError
[src]
impl Clone for CreationError
[src]
fn clone(&self) -> CreationError
[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 CreationError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
[src][−]
Formats the value using the given formatter. Read more
impl Error for CreationError
[src]
fn description(&self) -> &str
[src][−]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[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.