Function parallel_collect

Source
pub fn parallel_collect<T, S, FM, R>(source: S, map_op: FM) -> Vec<R>
where T: Send + Sync, S: IntoParallelIterator<Item = T>, FM: Fn(T) -> R + Sync + Send, R: Send,
Expand description

Maps collection and collects results into vector in parallel.