Struct gat_std::iter::Chain

source ·
pub struct Chain<I1, I2> { /* private fields */ }
Expand description

Trait Implementations§

The value yielded by each call to next on this iterator
Get the next value of this iterator, or return None
Get a hint as to the size of this iterator - the first value is a lower bound, second is an optional upper bound.
Advance the iterator by n elements
Return the nth element of the iterator Read more
Take a closure which will take each value from the iterator, and yield a new value computed from it. Read more
Gain mutable access to each value in this iterator, then yield it to the next step. This allows altering each item without consuming it, preserving the lending nature or the iterator
Execute a closure on each item in the iterator, returning true if it should be included, or false to skip it
Creates an iterator starting at the same point, but stepping by the given amount at each iteration
Takes two iterators and creates a new iterator over both in sequence
‘Zips up’ two iterators into a single iterator of pairs
Creates an iterator which gives the current iteration count as well as the next value
Creates an iterator that skips elements based on a predicate
Creates an iterator that yields elements based on a predicate
Creates an iterator that skips the first n elements
Creates an iterator that yields the first n elements, or fewer if the underlying iterator ends sooner
Tests if every element of the iterator matches a predicate
Tests if any element of the iterator matches a predicate
Searches for an element of an iterator that satisfies a predicate
Consume the iterator, counting the number of items and returning it
Execute a closure on each value of this iterator
Execute a closure on each value of this iterator, with an additional ‘accumulator’ value passed to each call. The closure is expected to return the new value of the accumulator.
Execute a closure on each value of this iterator, with an additional state value passed via mutable reference to each call. The closure is expected to return the new value for each step of the iterator, if the returned value is None the iterator stops early. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type of the returned iterator
Convert this value into an 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.