Trait nannou::image::buffer::ConvertBuffer [−][src]
pub trait ConvertBuffer<T> { fn convert(&self) -> T; }
Expand description
Provides color conversions for whole image buffers.
Required methods
Implementors
impl<'a, 'b, Container, FromType, ToType> ConvertBuffer<ImageBuffer<ToType, Vec<<ToType as Pixel>::Subpixel, Global>>> for ImageBuffer<FromType, Container> where
Container: Deref<Target = [<FromType as Pixel>::Subpixel]>,
FromType: 'static + Pixel,
ToType: 'static + Pixel + FromColor<FromType>,
<FromType as Pixel>::Subpixel: 'static,
<ToType as Pixel>::Subpixel: 'static,