fn any<O>(self, operation: O) -> Any<Self, O>
    where
        O: Fn(Self::Item) -> bool + Clone + Send + 'a,
    {
        Any::new(self, operation)
    }
/// Searches for **some** item in the parallel iterator that
/// matches the given operation, and if so returns true.  Once
/// a match is found, we'll attempt to stop process the rest
/// of the items.  Proving that there's no match, returning false,
/// does require visiting every item.
///
/// # Examples
///
/// ```
/// use asparit::*;
///
/// let a = [0, 12, 3, 4, 0, 23, 0];
///
/// let is_valid = a.par_iter().any(|&x| x > 10).exec();
///
/// assert!(is_valid);
/// ```
Searches for **some** item in the parallel iterator that
matches the given operation, and if so returns true.  Once
a match is found, we'll attempt to stop process the rest
of the items.  Proving that there's no match, returning false,
does require visiting every item.
Searches for ** some ** item in the parallel iterator that matches the given operation and if so returns true . Once a match is found we ' ll attempt to stop process the rest of the items . Proving that there ' s no match returning false does require visiting every item .
fn any<O>(self, operation: O) -> Any<Self, O>
    where
        O: Fn(Self::Item) -> bool + Clone + Send + 'a,
    {
        Any::new(self, operation)
    }
fn any < O > ( self , operation : O ) -> Any < Self , O > where O : Fn ( Self :: Item ) -> bool + Clone + Send + ' a , { Any :: new ( self , operation ) }
Searches for **some** item in the parallel iterator that
matches the given operation, and if so returns true.
Searches for ** some ** item in the parallel iterator that matches the given operation and if so returns true .
self
operation
O
self
operation
O
examples
None