fn intersperse(self, item: Self::Item) -> Intersperse<Self, Self::Item>
    where
        Self::Item: Clone,
    {
        Intersperse::new(self, item)
    }
/// Intersperses clones of an element between items of this iterator.
///
/// # Examples
///
/// ```
/// use asparit::*;
///
/// let x = vec![1, 2, 3];
/// let r: Vec<_> = x.into_par_iter().intersperse(-1).collect().exec();
///
/// assert_eq!(r, vec![1, -1, 2, -1, 3]);
/// ```
Intersperses clones of an element between items of this iterator.
Intersperses clones of an element between items of this iterator .
fn intersperse(self, item: Self::Item) -> Intersperse<Self, Self::Item>
    where
        Self::Item: Clone,
    {
        Intersperse::new(self, item)
    }
fn intersperse ( self , item : Self :: Item ) -> Intersperse < Self , Self :: Item > where Self :: Item : Clone , { Intersperse :: new ( self , item ) }
Intersperses clones of an element between items of this iterator.
Intersperses clones of an element between items of this iterator .
self
item
Self::Item
self
item
Self::Item
examples
None