Enum cuticula::transformer::TransformerError [] [src]

pub enum TransformerError {
    InvalidShape,
    InvalidRgbPixels,
    InvalidRgbaPixels,
    InvalidLumaPixels,
    InvalidLumaAlphaPixels,
}

The Transformer Errors

Variants

When the speficied shape capacitiy differs from the actual capacity of the numeric Vec

When The Image Pixel Buffer can't be converted to a RGB Image

When The Image Pixel Buffer can't be converted to a RGBA Image

When The Image Pixel Buffer can't be converted to a greyscale Image

When The Image Pixel Buffer can't be converted to a greyscale Alpha Image

Trait Implementations

impl Debug for TransformerError
[src]

Formats the value using the given formatter.

impl Copy for TransformerError
[src]

impl Clone for TransformerError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more