Struct Filter

struct Filter<I: ParallelIterator, P> { ... }

Filter takes a predicate filter_op and filters out elements that match. This struct is created by the filter() method on ParallelIterator

Implementations

impl<I, P> Freeze for Filter<I, P>

impl<I, P> ParallelIterator for Filter<I, P>

fn drive_unindexed<C>(self: Self, consumer: C) -> <C as >::Result
where
    C: UnindexedConsumer<<Self as >::Item>

impl<I, P> RefUnwindSafe for Filter<I, P>

impl<I, P> Send for Filter<I, P>

impl<I, P> Sync for Filter<I, P>

impl<I, P> Unpin for Filter<I, P>

impl<I, P> UnsafeUnpin for Filter<I, P>

impl<I, P> UnwindSafe for Filter<I, P>

impl<I: $crate::clone::Clone + ParallelIterator, P: $crate::clone::Clone> Clone for Filter<I, P>

fn clone(self: &Self) -> Filter<I, P>

impl<I: ParallelIterator + Debug, P> Debug for Filter<I, P>

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl<T> Any for Filter<I, P>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Filter<I, P>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Filter<I, P>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for Filter<I, P>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for Filter<I, P>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> IntoParallelIterator for Filter<I, P>

fn into_par_iter(self: Self) -> T

impl<T> Pointable for Filter<I, P>

unsafe fn init(init: <T as Pointable>::Init) -> usize
unsafe fn deref<'a>(ptr: usize) -> &'a T
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
unsafe fn drop(ptr: usize)

impl<T> ToOwned for Filter<I, P>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for Filter<I, P>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Filter<I, P>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Filter<I, P>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>