pub struct Filter<'a, A, T> {
// some fields omitted
}An iterator which filters the elements of iter with predicate
Trait Implementations
fn next(&mut self) -> Option<A>
fn zip<B, U: Iterator<B>>(self, U) -> Zip<Filter<'a, A, T>, U>
fn map<B>(self, |A| -> B) -> Map<'r, A, B, Filter<'a, A, T>>
fn scan<St, B>(self, St, |&mut St, A| -> Option<B>) -> Scan<'r, A, B, Filter<'a, A, T>, St>
fn by_ref(&'r mut self) -> ByRef<'r, Filter<'a, A, T>>
fn last(&mut self) -> Option<A>
fn fold<B>(&mut self, B, |B, A| -> B) -> B
fn all(&mut self, |A| -> bool) -> bool
fn any(&mut self, |A| -> bool) -> bool
fn find(&mut self, |&A| -> bool) -> Option<A>
fn max_by<B: Ord>(&mut self, |&A| -> B) -> Option<A>
fn min_by<B: Ord>(&mut self, |&A| -> B) -> Option<A>
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).