1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/// Utility mixins for Iterables. Designed to be imported with 'using'.
pub struct Iterable;
pub struct Iterables {}
impl Iterables {
// /// Searches for the first element using a predicate and returns it.
// // static
// pub fn find<A>(&self, it: Iterable<A>, pred: impl Fn(A) -> bool) -> A {
// for a in it {
// if pred(a) {
// return a;
// }
// }
// return None;
// }
}