Enum glium::texture::TextureCreationError [] [src]

pub enum TextureCreationError {
    FormatNotSupported,
    DimensionsNotSupported,
    TypeNotSupported,
}

Error that can happen when creating a texture.

Variants

FormatNotSupported

The requested format is not supported by the backend.

DimensionsNotSupported

The requested texture dimensions are not supported.

TypeNotSupported

The texture format is not supported by the backend.

Trait Implementations

impl From<FormatNotSupportedError> for TextureCreationError

fn from(_: FormatNotSupportedError) -> TextureCreationError

Derived Implementations

impl Eq for TextureCreationError

impl PartialEq for TextureCreationError

fn eq(&self, __arg_0: &TextureCreationError) -> bool

fn ne(&self, __arg_0: &TextureCreationError) -> bool

impl Copy for TextureCreationError

impl Clone for TextureCreationError

fn clone(&self) -> TextureCreationError

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

impl Debug for TextureCreationError

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