Struct EnumeratePixelsPar
pub struct EnumeratePixelsPar<'a, P>
where
P: Pixel + Sync + 'a,
P::Subpixel: Sync + 'a, { /* private fields */ }
Parallel iterator over pixel refs and their coordinates.
Trait Implementations
impl<'a, P> Clone for EnumeratePixelsPar<'a, P>
where
P: Pixel + Sync + 'a + Clone,
P::Subpixel: Sync + 'a,
fn clone(&self) -> EnumeratePixelsPar<'a, P>
impl<'a, P> IndexedParallelIterator for EnumeratePixelsPar<'a, P>
where
P: Pixel + Sync + 'a,
P::Subpixel: Sync + 'a,
fn drive<C: Consumer<Self::Item>>(self, consumer: C) -> C::Resultfn len(&self) -> usizefn with_producer<CB: ProducerCallback<Self::Item>>(self, callback: CB) -> CB::Output
impl<'a, P> ParallelIterator for EnumeratePixelsPar<'a, P>
where
P: Pixel + Sync + 'a,
P::Subpixel: Sync + 'a,
type Item = (u32, u32, &'a P);fn drive_unindexed<C>(self, consumer: C) -> C::Result where C: UnindexedConsumer<Self::Item>,fn opt_len(&self) -> Option<usize>
impl<P> Debug for EnumeratePixelsPar<'_, P>
where
P: Pixel + Sync,
P::Subpixel: Sync + Debug,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Auto Trait Implementations
impl<'a, P> Freeze for EnumeratePixelsPar<'a, P>
where
PixelsPar<'a, P>: Freeze,
impl<'a, P> RefUnwindSafe for EnumeratePixelsPar<'a, P>
where
PixelsPar<'a, P>: RefUnwindSafe,
impl<'a, P> Send for EnumeratePixelsPar<'a, P>
where
PixelsPar<'a, P>: Send,
impl<'a, P> Sync for EnumeratePixelsPar<'a, P>
where
PixelsPar<'a, P>: Sync,
impl<'a, P> Unpin for EnumeratePixelsPar<'a, P>
where
PixelsPar<'a, P>: Unpin,
impl<'a, P> UnsafeUnpin for EnumeratePixelsPar<'a, P>
where
PixelsPar<'a, P>: UnsafeUnpin,
impl<'a, P> UnwindSafe for EnumeratePixelsPar<'a, P>
where
PixelsPar<'a, P>: UnwindSafe,
Blanket Implementations
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for EnumeratePixelsPar<'a, P>
where
ST: ?Sized,
DT: ?Sized,
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for EnumeratePixelsPar<'a, P>
where
ST: ?Sized,
DT: ?Sized,
impl<T> Any for EnumeratePixelsPar<'a, P>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for EnumeratePixelsPar<'a, P>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for EnumeratePixelsPar<'a, P>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for EnumeratePixelsPar<'a, P>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for EnumeratePixelsPar<'a, P>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> IntoEither for EnumeratePixelsPar<'a, P>
impl<T> IntoParallelIterator for EnumeratePixelsPar<'a, P>
where
T: ParallelIterator,
type Iter = T;type Item = <T as ParallelIterator>::Item;fn into_par_iter(self) -> T
impl<T> Pointable for EnumeratePixelsPar<'a, P>
const ALIGN: usize = _;type Init = T;unsafe fn init(init: <T as Pointable>::Init) -> usizeunsafe fn deref<'a>(ptr: usize) -> &'a Tunsafe fn deref_mut<'a>(ptr: usize) -> &'a mut Tunsafe fn drop(ptr: usize)
impl<T> Read<Exclusive, BecauseExclusive> for EnumeratePixelsPar<'a, P>
where
T: ?Sized,
impl<T> ToOwned for EnumeratePixelsPar<'a, P>
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for EnumeratePixelsPar<'a, P>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for EnumeratePixelsPar<'a, P>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for EnumeratePixelsPar<'a, P>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>