Struct FlatMap
#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
pub struct FlatMap<I, F> { /* private fields */ }
FlatMap maps each element to a parallel iterator, then flattens these iterators together.
This struct is created by the flat_map() method on ParallelIterator
Trait Implementations
impl<I, F, PI> ParallelIterator for FlatMap<I, F>
where
I: ParallelIterator,
F: Fn(I::Item) -> PI + Sync + Send,
PI: IntoParallelIterator,
type Item = <PI as IntoParallelIterator>::Item;fn drive_unindexed<C>(self, consumer: C) -> C::Result where C: UnindexedConsumer<Self::Item>,
impl<I: Clone, F: Clone> Clone for FlatMap<I, F>
fn clone(&self) -> Self
impl<I: Debug, F> Debug for FlatMap<I, F>
fn fmt(&self, f: &mut Formatter<'_>) -> Result