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

Auto Trait Implementations

impl<I, F> Freeze for FlatMapIter<I, F> where I: Freeze, F: Freeze,

impl<I, F> RefUnwindSafe for FlatMapIter<I, F> where I: RefUnwindSafe, F: RefUnwindSafe,

impl<I, F> Send for FlatMapIter<I, F> where I: Send, F: Send,

impl<I, F> Sync for FlatMapIter<I, F> where I: Sync, F: Sync,

impl<I, F> Unpin for FlatMapIter<I, F> where I: Unpin, F: Unpin,

impl<I, F> UnsafeUnpin for FlatMapIter<I, F> where I: UnsafeUnpin, F: UnsafeUnpin,

impl<I, F> UnwindSafe for FlatMapIter<I, F> where I: UnwindSafe, F: UnwindSafe,

Blanket Implementations

impl<T> Any for FlatMapIter<I, F> where T: 'static + ?Sized,

impl<T> Borrow<T> for FlatMapIter<I, F> where T: ?Sized,

impl<T> BorrowMut<T> for FlatMapIter<I, F> where T: ?Sized,

impl<T> CloneToUninit for FlatMapIter<I, F> where T: Clone,

impl<T> From<T> for FlatMapIter<I, F>

impl<T> IntoEither for FlatMapIter<I, F>

impl<T> IntoParallelIterator for FlatMapIter<I, F> where T: ParallelIterator,

impl<T> Pointable for FlatMapIter<I, F>

impl<T> ToOwned for FlatMapIter<I, F> where T: Clone,

impl<T, U> Into<U> for FlatMapIter<I, F> where U: From<T>,

impl<T, U> TryFrom<U> for FlatMapIter<I, F> where U: Into<T>,

impl<T, U> TryInto<U> for FlatMapIter<I, F> where U: TryFrom<T>,