Struct fallible_streaming_iterator::MapRef [] [src]

pub struct MapRef<I, F> { /* fields omitted */ }

An iterator which applies a transform to elements.

Trait Implementations

impl<I, F, B: ?Sized> FallibleStreamingIterator for MapRef<I, F> where
    I: FallibleStreamingIterator,
    F: Fn(&I::Item) -> &B, 
[src]

The type being iterated over.

The error type of iteration.

Advances the iterator to the next position. Read more

Returns the current element. Read more

Returns bounds on the number of remaining elements in the iterator.

Advances the iterator, returning the next element. Read more

Determines if all elements of the iterator satisfy a predicate.

Determines if any elements of the iterator satisfy a predicate.

Borrows an iterator, rather than consuming it. Read more

Returns the number of remaining elements in the iterator.

Returns an iterator which filters elements by a predicate.

Returns the first element of the iterator which satisfies a predicate.

Returns an iterator which is well-behaved at the beginning and end of iteration.

Returns an iterator which applies a transform to elements.

Returns an iterator which applies a transform to elements. Read more

Returns an iterator that applies a transform to errors.

Returns the nth element of the iterator.

Returns the position of the first element matching a predicate.

Returns an iterator which skips the first n elements.

Returns an iterator which skips the first sequence of elements matching a predicate.

Returns an iterator which only returns the first n elements.

Returns an iterator which only returns the first sequence of elements matching a predicate.