Struct Chain

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

Chain is an iterator that joins b after a in one continuous iterator. This struct is created by the chain() method on ParallelIterator

Trait Implementations

impl<A, B> IndexedParallelIterator for Chain<A, B> where A: IndexedParallelIterator, B: IndexedParallelIterator<Item = A::Item>,

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 Chain<A, B> where A: ParallelIterator, B: ParallelIterator<Item = A::Item>,

type Item = <A 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 Chain<A, B>

fn clone(&self) -> Self

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

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

Auto Trait Implementations

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

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

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

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

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

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

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

Blanket Implementations

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

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

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

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

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

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

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

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

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

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

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

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