Struct Filter
#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
pub struct Filter<I, P> { /* private fields */ }
Filter takes a predicate filter_op and filters out elements that match.
This struct is created by the filter() method on ParallelIterator
Trait Implementations
impl<I, P> ParallelIterator for Filter<I, P>
where
I: ParallelIterator,
P: Fn(&I::Item) -> bool + Sync + Send,
type Item = <I as ParallelIterator>::Item;fn drive_unindexed<C>(self, consumer: C) -> C::Result where C: UnindexedConsumer<Self::Item>,
impl<I: Clone, P: Clone> Clone for Filter<I, P>
fn clone(&self) -> Self
impl<I: Debug, P> Debug for Filter<I, P>
fn fmt(&self, f: &mut Formatter<'_>) -> Result