Enum cuivre::graphics::textures::TextureError [−][src]
pub enum TextureError { Io(Error), ImageError(ImageError), InvalidTextureData(u32, u32, u32, usize), }
Errors related to texture handling.
Variants
Io(Error)
ImageError(ImageError)
Error related to image handling.
InvalidTextureData(u32, u32, u32, usize)
Tried creating texture from invalid data. Contains texture width, height, and data length.
Trait Implementations
impl Debug for TextureError
[src]
impl Debug for TextureError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Error> for TextureError
[src]
impl From<Error> for TextureError
impl Error for TextureError
[src]
impl Error for TextureError
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0
[src]This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for TextureError
[src]
impl Display for TextureError
Auto Trait Implementations
impl Send for TextureError
impl Send for TextureError
impl Sync for TextureError
impl Sync for TextureError