Struct internal_iterator::Filter[][src]

pub struct Filter<I, F> { /* fields omitted */ }
Expand description

An iterator that filters the elements of iter with predicate.

Trait Implementations

Type of items yielded by the iterator.

Applies function to the elements of iterator and returns the first non-none result. Read more

Tests if every element of the iterator matches the predicate. Read more

Tests if any element of the iterator matches the predicate. Read more

Takes two iterators and returns an iterator that first iterates over the elements of the first iterator, and then over the second one. Read more

Creates an iterator yields cloned elements of the original iterator. Read more

Transforms the iterator into a collection. Read more

Creates an iterator yields copied elements of the original iterator. Read more

Returns the number of elements yielded by the iterator. Read more

Creates an iterator that adds the index to every value of the original iterator. Read more

Creates an iterator which only yields elements matching the predicate. Read more

Returns the first element of the iterator that matches the predicate. Read more

Creates and iterator which maps over the elements and flattens the resulting structure. Read more

Run the closure on each element.

Run the closure on each element, while passing that element on. Read more

Returns the last element. Read more

Transform each element in the iterator. Read more

Returns the maximum element of an iterator. Read more

Returns the maximum element of an iterator using a custom comparer function. Read more

Returns the element that gives the maximum value from the specified function.

Returns the minimum element of an iterator. Read more

Returns the minimum element of an iterator using a custom comparer function. Read more

Returns the element that gives the maximum value from the specified function.

Returns the first element of the iterator. Read more

Returns the nth element of the iterator. Read more

Returns the index of the first element matching the predicate. Read more

Skip first n elements of the iterator. Read more

Take first n elements of the iterator, disregarding the rest. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type of the elements being iterated over.

Concrete iterator type returned by the conversion.

Convert this type to an internal iterator.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.