fn chain<C>(self, chain: C) -> Chain<Self, C::Iter>
    where
        C: IntoParallelIterator<'a, Item = Self::Item>,
    {
        Chain::new(self, chain.into_par_iter())
    }
/// Takes two iterators and creates a new iterator over both.
///
/// # Examples
///
/// ```
/// use asparit::*;
///
/// let a = [0, 1, 2];
/// let b = [9, 8, 7];
///
/// let par_iter = a.par_iter().chain(b.par_iter());
///
/// let chained: Vec<_> = par_iter.cloned().collect().exec();
///
/// assert_eq!(&chained[..], &[0, 1, 2, 9, 8, 7]);
/// ```
Takes two iterators and creates a new iterator over both.
Takes two iterators and creates a new iterator over both .
fn chain<C>(self, chain: C) -> Chain<Self, C::Iter>
    where
        C: IntoParallelIterator<'a, Item = Self::Item>,
    {
        Chain::new(self, chain.into_par_iter())
    }
fn chain < C > ( self , chain : C ) -> Chain < Self , C :: Iter > where C : IntoParallelIterator < ' a , Item = Self :: Item > , { Chain :: new ( self , chain . into_par_iter ( ) ) }
Takes two iterators and creates a new iterator over both.
Takes two iterators and creates a new iterator over both .
self
chain
C
self
chain
C
examples




let par_iter = a.par_iter().chain(b.par_iter()).

let chained: Vec<_> = par_iter.cloned().collect().exec().


let par_iter = a . par_iter () . chain ( b . par_iter () ) . let chained : Vec<_ > = par_iter . cloned () . collect () . exec () .