Trait ImageView

Source
pub trait ImageView<P: Color>: Index<(u32, u32), Output = P> + IndexMut<(u32, u32)> { }
Expand description

A view into an image

Implementors§

Source§

impl<P, Container> ImageView<P> for ImageBuffer<P, Container>
where P: Pixel, Container: Deref<Target = [P::Subpixel]> + DerefMut,