Struct jagged_array::Stream [] [src]

pub struct Stream<'a, T: 'a> { /* fields omitted */ }

StreamingIterator implementation for Jagged2. This allows for iteration with some lifetime restrictions on the value returned by next.

See Jagged2::stream for more info.

Trait Implementations

impl<'a, T> StreamingIterator for Stream<'a, T>
[src]

The type of the elements being iterated over.

Advances the iterator to the next element. Read more

Returns a reference to the current element of the iterator. Read more

Returns the bounds on the remaining length of the iterator.

Consumes the iterator, counting the number of remaining elements and returning it.

Consumes the first n elements of the iterator, returning the next one.

Advances the iterator and returns the next value. 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

Produces a normal, non-streaming, iterator by cloning the elements of this iterator.

Creates an iterator which uses a closure to determine if an element should be yielded.

Creates an iterator which both filters and maps by applying a closure to elements.

Returns the first element of the iterator that satisfies the predicate.

Creates an iterator which is "well behaved" at the beginning and end of iteration. Read more

Creates an iterator which transforms elements of this iterator by passing them to a closure.

Creates an iterator which transforms elements of this iterator by passing them to a closure. Read more

Returns the index of the first element of the iterator matching a predicate.

Creates an iterator which skips the first n elements.

Creates an iterator that skips initial elements matching a predicate.

Creates an iterator which only returns the first n elements.

Creates an iterator which only returns initial elements matching a predicate.