[−][src]Trait funlib::FoldableA
Required methods
fn fold<F>(&'r self, z: A, f: F) -> A where
F: FnMut(A, &A) -> A,
F: FnMut(A, &A) -> A,
fn find<F>(&'r self, f: F) -> Option<&A> where
F: Fn(&A) -> bool,
F: Fn(&A) -> bool,
fn all<F>(&'r self, f: F) -> bool where
F: Fn(&A) -> bool,
F: Fn(&A) -> bool,
fn any<F>(&'r self, f: F) -> bool where
F: Fn(&A) -> bool,
F: Fn(&A) -> bool,
fn filter<F>(&'r self, f: F) -> Self::M where
F: Fn(&A) -> bool,
F: Fn(&A) -> bool,
fn is_empty(&'r self) -> bool
Provided methods
Loading content...Implementations on Foreign Types
impl<'r, A: 'r> FoldableA<'r, A> for Vec<A>
[src]
fn fold<F>(&'r self, z: A, f: F) -> A where
F: FnMut(A, &A) -> A,
[src]
F: FnMut(A, &A) -> A,
fn all<F>(&self, f: F) -> bool where
F: Fn(&A) -> bool,
[src]
F: Fn(&A) -> bool,
fn any<F>(&self, f: F) -> bool where
F: Fn(&A) -> bool,
[src]
F: Fn(&A) -> bool,
fn filter<F>(&'r self, f: F) -> Self::M where
F: Fn(&A) -> bool,
[src]
F: Fn(&A) -> bool,
fn find<F>(&'r self, f: F) -> Option<&A> where
F: Fn(&A) -> bool,
[src]
F: Fn(&A) -> bool,