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

Auto Trait Implementations

impl<'a, P> Freeze for EnumeratePixels<'a, P> where Pixels<'a, P>: Freeze,

impl<'a, P> RefUnwindSafe for EnumeratePixels<'a, P> where Pixels<'a, P>: RefUnwindSafe,

impl<'a, P> Send for EnumeratePixels<'a, P> where Pixels<'a, P>: Send,

impl<'a, P> Sync for EnumeratePixels<'a, P> where Pixels<'a, P>: Sync,

impl<'a, P> Unpin for EnumeratePixels<'a, P> where Pixels<'a, P>: Unpin,

impl<'a, P> UnsafeUnpin for EnumeratePixels<'a, P> where Pixels<'a, P>: UnsafeUnpin,

impl<'a, P> UnwindSafe for EnumeratePixels<'a, P> where Pixels<'a, P>: UnwindSafe,

Blanket Implementations

impl<I> IntoIterator for EnumeratePixels<'a, P> where I: Iterator,

type Item = <I as Iterator>::Item;
type IntoIter = I;
fn into_iter(self) -> I

impl<IT, A, FromA, B, FromB, C, FromC> MultiUnzip<(FromA, FromB, FromC)> for EnumeratePixels<'a, P> where IT: Iterator<Item = (A, B, C)>, FromA: Default + Extend<A>, FromB: Default + Extend<B>, FromC: Default + Extend<C>,

fn multiunzip(self) -> (FromA, FromB, FromC)

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for EnumeratePixels<'a, P> where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for EnumeratePixels<'a, P> where ST: ?Sized, DT: ?Sized,

impl<T> Any for EnumeratePixels<'a, P> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for EnumeratePixels<'a, P> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for EnumeratePixels<'a, P> where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for EnumeratePixels<'a, P> where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for EnumeratePixels<'a, P>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> IntoEither for EnumeratePixels<'a, P>

impl<T> Itertools for EnumeratePixels<'a, P> where T: Iterator + ?Sized,

impl<T> ParallelBridge for EnumeratePixels<'a, P> where T: Iterator + Send, <T as Iterator>::Item: Send,

fn par_bridge(self) -> IterBridge<T>

impl<T> Pointable for EnumeratePixels<'a, P>

const ALIGN: usize = _;
type Init = T;
unsafe fn init(init: <T as Pointable>::Init) -> usize
unsafe fn deref<'a>(ptr: usize) -> &'a T
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
unsafe fn drop(ptr: usize)

impl<T> Read<Exclusive, BecauseExclusive> for EnumeratePixels<'a, P> where T: ?Sized,

impl<T> ToOwned for EnumeratePixels<'a, P> where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for EnumeratePixels<'a, P> where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for EnumeratePixels<'a, P> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for EnumeratePixels<'a, P> where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>