Struct EnumeratePixels
pub struct EnumeratePixels<'a, P: Pixel + 'a>
where
<P as Pixel>::Subpixel: 'a, { /* private fields */ }
Enumerate the pixels of an image.
Trait Implementations
impl<'a, P: Pixel + 'a> ExactSizeIterator for EnumeratePixels<'a, P>
where
P::Subpixel: 'a,
fn len(&self) -> usize
impl<'a, P: Pixel + 'a> Iterator for EnumeratePixels<'a, P>
where
P::Subpixel: 'a,
type Item = (u32, u32, &'a P);fn next(&mut self) -> Option<(u32, u32, &'a P)>fn size_hint(&self) -> (usize, Option<usize>)
impl<P: Pixel> Clone for EnumeratePixels<'_, P>
fn clone(&self) -> Self
impl<P: Pixel> Debug for EnumeratePixels<'_, P>
where
P::Subpixel: Debug,
fn fmt(&self, f: &mut Formatter<'_>) -> Result