Struct Zip

#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
pub struct Zip<A, B> { /* private fields */ }

Zip is an iterator that zips up a and b into a single iterator of pairs. This struct is created by the zip() method on IndexedParallelIterator

Trait Implementations

impl<A, B> IndexedParallelIterator for Zip<A, B> where A: IndexedParallelIterator, B: IndexedParallelIterator,

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

impl<A, B> ParallelIterator for Zip<A, B> where A: IndexedParallelIterator, B: IndexedParallelIterator,

type Item = (<A as ParallelIterator>::Item, <B as ParallelIterator>::Item);
fn drive_unindexed<C>(self, consumer: C) -> C::Result
where
    C: UnindexedConsumer<Self::Item>,
fn opt_len(&self) -> Option<usize>

impl<A: Clone, B: Clone> Clone for Zip<A, B>

fn clone(&self) -> Self

impl<A: Debug, B: Debug> Debug for Zip<A, B>

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

Auto Trait Implementations

impl<A, B> Freeze for Zip<A, B> where A: Freeze, B: Freeze,

impl<A, B> RefUnwindSafe for Zip<A, B> where A: RefUnwindSafe, B: RefUnwindSafe,

impl<A, B> Send for Zip<A, B> where A: Send, B: Send,

impl<A, B> Sync for Zip<A, B> where A: Sync, B: Sync,

impl<A, B> Unpin for Zip<A, B> where A: Unpin, B: Unpin,

impl<A, B> UnsafeUnpin for Zip<A, B> where A: UnsafeUnpin, B: UnsafeUnpin,

impl<A, B> UnwindSafe for Zip<A, B> where A: UnwindSafe, B: UnwindSafe,

Blanket Implementations

impl<T> Any for Zip<A, B> where T: 'static + ?Sized,

impl<T> Borrow<T> for Zip<A, B> where T: ?Sized,

impl<T> BorrowMut<T> for Zip<A, B> where T: ?Sized,

impl<T> CloneToUninit for Zip<A, B> where T: Clone,

impl<T> From<T> for Zip<A, B>

impl<T> IntoEither for Zip<A, B>

impl<T> IntoParallelIterator for Zip<A, B> where T: ParallelIterator,

impl<T> Pointable for Zip<A, B>

impl<T> ToOwned for Zip<A, B> where T: Clone,

impl<T, U> Into<U> for Zip<A, B> where U: From<T>,

impl<T, U> TryFrom<U> for Zip<A, B> where U: Into<T>,

impl<T, U> TryInto<U> for Zip<A, B> where U: TryFrom<T>,