Enum glium::texture::buffer_texture::CreationError
[−]
[src]
pub enum CreationError {
BufferCreationError(BufferCreationError),
TextureCreationError(TextureCreationError),
}Error that can happen while building a buffer texture.
Variants
BufferCreationError(BufferCreationError)Failed to create the buffer.
TextureCreationError(TextureCreationError)Failed to create the texture.
Trait Implementations
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 Debug for CreationError[src]
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.
impl From<TextureCreationError> for CreationError[src]
fn from(err: TextureCreationError) -> CreationError[src]
Performs the conversion.