Crate par_map[][src]

This crate provides an easy way to get parallel iteration. The contract of the added method are (almost) exacly the same as the method without the par_ prefix proposed in std.

Structs

FlatMap

An iterator that maps each element to an iterator, and yields the elements of the produced iterators.

Map

An iterator that maps the values of iter with f.

Pack

An iterator that yields Vec<Self::Item> of size nb (or less on the last element).

PackedFlatMap

As FlatMap but packed.

PackedMap

As Map but packed.

ParMapBuilder

A builder used to configure the parallele work.

Traits

ParMap

This trait extends std::iter::Iterator with parallel iterator adaptors. Just use it to get access to the methods: