Struct EnumeratePixelsMutPar

pub struct EnumeratePixelsMutPar<'a, P>
where
    P: Pixel + Send + Sync + 'a,
    P::Subpixel: Send + Sync + 'a, { /* private fields */ }

Parallel iterator over mutable pixel refs and their coordinates.

Trait Implementations

impl<'a, P> IndexedParallelIterator for EnumeratePixelsMutPar<'a, P> where P: Pixel + Send + Sync + 'a, P::Subpixel: Send + Sync + 'a,

fn drive<C: Consumer<Self::Item>>(self, consumer: C) -> C::Result
fn len(&self) -> usize
fn with_producer<CB: ProducerCallback<Self::Item>>(self, callback: CB) -> CB::Output

impl<'a, P> ParallelIterator for EnumeratePixelsMutPar<'a, P> where P: Pixel + Send + Sync + 'a, P::Subpixel: Send + Sync + 'a,

type Item = (u32, u32, &'a mut 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 EnumeratePixelsMutPar<'_, P> where P: Pixel + Send + Sync, P::Subpixel: Send + Sync + Debug,

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Auto Trait Implementations

impl<'a, P> !UnwindSafe for EnumeratePixelsMutPar<'a, P>

impl<'a, P> Freeze for EnumeratePixelsMutPar<'a, P> where PixelsMutPar<'a, P>: Freeze,

impl<'a, P> RefUnwindSafe for EnumeratePixelsMutPar<'a, P> where PixelsMutPar<'a, P>: RefUnwindSafe,

impl<'a, P> Send for EnumeratePixelsMutPar<'a, P> where PixelsMutPar<'a, P>: Send,

impl<'a, P> Sync for EnumeratePixelsMutPar<'a, P> where PixelsMutPar<'a, P>: Sync,

impl<'a, P> Unpin for EnumeratePixelsMutPar<'a, P> where PixelsMutPar<'a, P>: Unpin,

impl<'a, P> UnsafeUnpin for EnumeratePixelsMutPar<'a, P> where PixelsMutPar<'a, P>: UnsafeUnpin,

Blanket Implementations

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

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

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

fn from(t: T) -> T

Returns the argument unchanged.

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

impl<T> IntoParallelIterator for EnumeratePixelsMutPar<'a, P> where T: ParallelIterator,

type Iter = T;
type Item = <T as ParallelIterator>::Item;
fn into_par_iter(self) -> T

impl<T> Pointable for EnumeratePixelsMutPar<'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 EnumeratePixelsMutPar<'a, P> where T: ?Sized,

impl<T, U> Into<U> for EnumeratePixelsMutPar<'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 EnumeratePixelsMutPar<'a, P> where U: Into<T>,

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

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

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