Trait rayon::par_iter::IndexedParallelIterator [] [src]

pub trait IndexedParallelIterator: ExactParallelIterator {
    fn zip<ZIP_OP>(self, zip_op: ZIP_OP) -> ZipIter<Self, ZIP_OP::Iter> where ZIP_OP: IntoParallelIterator, ZIP_OP::Iter: IndexedParallelIterator { ... }
    fn enumerate(self) -> Enumerate<Self> { ... }
}

An iterator that supports "random access" to its data, meaning that you can split it at arbitrary indices and draw data from those points.

Provided Methods

Iterate over tuples (A, B), where the items A are from this iterator and B are from the iterator given as argument. Like the zip method on ordinary iterators, if the two iterators are of unequal length, you only get the items they have in common.

Yields an index along with each item.

Implementors