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