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

There was an error in the image format

The image dimensions were invalid

The image format is unsupported

The color type is not supported

The image data ends too early

There was some error reading the image file

The image has reached its end

Trait Implementations

impl Clone for ImageError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ImageError
[src]

[src]

Formats the value using the given formatter.

impl From<ImageError> for ImageError
[src]

[src]

Performs the conversion.