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 Debug for CreationError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for CreationError
[src]

fn clone(&self) -> CreationError

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for CreationError
[src]

impl Display for CreationError
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for CreationError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

The lower-level cause of this error, if any.

impl From<BufferCreationError> for CreationError
[src]

fn from(err: BufferCreationError) -> CreationError

Performs the conversion.

impl From<TextureCreationError> for CreationError
[src]

fn from(err: TextureCreationError) -> CreationError

Performs the conversion.