Function rayon::iter::take_any_while::take

source ·
fn take<T>(
    item: &T,
    taking: &AtomicBool,
    predicate: &impl Fn(&T) -> bool
) -> bool