Enum quicksilver::graphics::ImageError
[−]
[src]
pub enum ImageError { FormatError(String), DimensionError, UnsupportedError(String), UnsupportedColor, NotEnoughData, IoError, ImageEnd, }
An error generated while loading an image
Variants
FormatError(String)
There was an error in the image format
DimensionError
The image dimensions were invalid
UnsupportedError(String)
The image format is unsupported
UnsupportedColor
The color type is not supported
NotEnoughData
The image data ends too early
IoError
There was some error reading the image file
ImageEnd
The image has reached its end
Trait Implementations
impl Clone for ImageError
[src]
fn clone(&self) -> ImageError
[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 ImageError
[src]
impl From<ImageError> for ImageError
[src]
fn from(img: ImageError) -> ImageError
[src]
Performs the conversion.