Enum quicksilver::graphics::ImageError [−][src]
pub enum ImageError { FormatError(String), DimensionError, UnsupportedError(String), UnsupportedColor, NotEnoughData, IOError(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(IOError)
There was some error reading the image file
ImageEnd
The image has reached its end
Trait Implementations
impl Debug for ImageError
[src]
impl Debug for ImageError
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 Display for ImageError
[src]
impl Display for ImageError
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 Error for ImageError
[src]
impl Error for ImageError
Auto Trait Implementations
impl Send for ImageError
impl Send for ImageError
impl Sync for ImageError
impl Sync for ImageError