Enum cuticula::transformer::TransformerError
[−]
[src]
pub enum TransformerError { InvalidShape, InvalidRgbPixels, InvalidRgbaPixels, InvalidLumaPixels, InvalidLumaAlphaPixels, }
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
impl Debug for TransformerError
[src]
impl Copy for TransformerError
[src]
impl Clone for TransformerError
[src]
fn clone(&self) -> TransformerError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more