Enum cuivre::graphics::textures::TextureError[][src]

pub enum TextureError {
    Io(Error),
    ImageError(ImageError),
    InvalidTextureData(u32u32u32usize),
}

Errors related to texture handling.

Variants

Error related to image handling.

Tried creating texture from invalid data. Contains texture width, height, and data length.

Trait Implementations

impl Debug for TextureError
[src]

Formats the value using the given formatter. Read more

impl From<Error> for TextureError
[src]

Performs the conversion.

impl Error for TextureError
[src]

This method is soft-deprecated. Read more

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

impl Display for TextureError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations