pub struct Filter<I, F> { /* private fields */ }Expand description
Filter adapter for parallel iterators
Trait Implementations§
Source§impl<I, F> ParallelIterator for Filter<I, F>
impl<I, F> ParallelIterator for Filter<I, F>
Source§type Item = <I as ParallelIterator>::Item
type Item = <I as ParallelIterator>::Item
The type of item being iterated
Source§fn collect<C>(self) -> Cwhere
C: FromParallelIterator<Self::Item>,
fn collect<C>(self) -> Cwhere
C: FromParallelIterator<Self::Item>,
Collect into a collection
Source§fn reduce<RED>(self, reduce_op: RED) -> Option<Self::Item>
fn reduce<RED>(self, reduce_op: RED) -> Option<Self::Item>
Reduce items with a reduction function
Source§fn find_any<P>(self, predicate: P) -> Option<Self::Item>
fn find_any<P>(self, predicate: P) -> Option<Self::Item>
Find any item that matches the predicate
Source§fn fold<T, ID, F>(self, identity: ID, fold_op: F) -> Fold<Self, ID, F>
fn fold<T, ID, F>(self, identity: ID, fold_op: F) -> Fold<Self, ID, F>
Fold items with an identity value and accumulator function
Auto Trait Implementations§
impl<I, F> Freeze for Filter<I, F>
impl<I, F> RefUnwindSafe for Filter<I, F>where
I: RefUnwindSafe,
F: RefUnwindSafe,
impl<I, F> Send for Filter<I, F>
impl<I, F> Sync for Filter<I, F>
impl<I, F> Unpin for Filter<I, F>
impl<I, F> UnwindSafe for Filter<I, F>where
I: UnwindSafe,
F: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more