Trait ConvertBuffer
pub trait ConvertBuffer<T>
Provides color conversions for whole image buffers.
Required Methods
fn convert(&self) -> TConverts
selfto a buffer of type TA generic implementation is provided to convert any image buffer to a image buffer based on a
Vec<T>.
Implementors
impl<Container, FromType: Pixel, ToType> ConvertBuffer<ImageBuffer<ToType, Vec<<ToType as Pixel>::Subpixel>>> for ImageBuffer<FromType, Container> where Container: Deref<Target = [FromType::Subpixel]>, ToType: FromColor<FromType> + Pixel,