Struct PixelsPar

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

Parallel iterator over pixel refs.

Trait Implementations

impl<'a, P> Clone for PixelsPar<'a, P> where P: Pixel + Sync + 'a + Clone, P::Subpixel: Sync + 'a + Clone,

fn clone(&self) -> PixelsPar<'a, P>

impl<'a, P> IndexedParallelIterator for PixelsPar<'a, P> where P: Pixel + Sync + 'a, P::Subpixel: 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 PixelsPar<'a, P> where P: Pixel + Sync + 'a, P::Subpixel: Sync + 'a,

type Item = &'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 PixelsPar<'_, P> where P: Pixel + Sync, P::Subpixel: Sync + Debug,

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

Auto Trait Implementations

impl<'a, P> Freeze for PixelsPar<'a, P> where ChunksExact<'a, <P as Pixel>::Subpixel>: Freeze,

impl<'a, P> RefUnwindSafe for PixelsPar<'a, P> where ChunksExact<'a, <P as Pixel>::Subpixel>: RefUnwindSafe,

impl<'a, P> Send for PixelsPar<'a, P> where ChunksExact<'a, <P as Pixel>::Subpixel>: Send,

impl<'a, P> Sync for PixelsPar<'a, P> where ChunksExact<'a, <P as Pixel>::Subpixel>: Sync,

impl<'a, P> Unpin for PixelsPar<'a, P> where ChunksExact<'a, <P as Pixel>::Subpixel>: Unpin,

impl<'a, P> UnsafeUnpin for PixelsPar<'a, P> where ChunksExact<'a, <P as Pixel>::Subpixel>: UnsafeUnpin,

impl<'a, P> UnwindSafe for PixelsPar<'a, P> where ChunksExact<'a, <P as Pixel>::Subpixel>: UnwindSafe,

Blanket Implementations

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

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

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

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

fn from(t: T) -> T

Returns the argument unchanged.

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

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

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

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

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

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

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

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