ParIterExt

Trait ParIterExt 

Source
pub trait ParIterExt: Iterator {
    // Required methods
    fn find_any<P>(self, predicate: P) -> Option<Self::Item>
       where P: Fn(&Self::Item) -> bool + Sync + Send;
    fn flat_map_iter<U, F>(self, map_op: F) -> FlatMap<Self, U, F> 
       where Self: Sized,
             U: IntoIterator,
             F: Fn(Self::Item) -> U;
}

Required Methods§

Source

fn find_any<P>(self, predicate: P) -> Option<Self::Item>
where P: Fn(&Self::Item) -> bool + Sync + Send,

Source

fn flat_map_iter<U, F>(self, map_op: F) -> FlatMap<Self, U, F>
where Self: Sized, U: IntoIterator, F: Fn(Self::Item) -> U,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§