Enum greenglas::transformer::TransformerError [−][src]
pub enum TransformerError {
InvalidShape,
InvalidRgbPixels,
InvalidRgbaPixels,
InvalidLumaPixels,
InvalidLumaAlphaPixels,
}
Expand description
The Transformer Errors
Variants
InvalidShape
When the speficied shape capacitiy differs from the actual capacity of the numeric Vec
InvalidRgbPixels
When The Image Pixel Buffer can’t be converted to a RGB Image
InvalidRgbaPixels
When The Image Pixel Buffer can’t be converted to a RGBA Image
InvalidLumaPixels
When The Image Pixel Buffer can’t be converted to a greyscale Image
InvalidLumaAlphaPixels
When The Image Pixel Buffer can’t be converted to a greyscale Alpha Image
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TransformerError
impl Send for TransformerError
impl Sync for TransformerError
impl Unpin for TransformerError
impl UnwindSafe for TransformerError
Blanket Implementations
Mutably borrows from an owned value. Read more