Module jobsteal::iter::all_any [] [src]

Whether all or any of the elements in a Spliterator fulfill a predicate.

Functions

all

Consumes the iterator, returning true if all elements fulfill the predicate and false otherwise.

any

Consumes the iterator, returning true if any element fulfills the predicate and false otherwise.