Expand description
Structs§
- Iter
- 🌐 🔄 Iterator-related namespaced operations.
- Iter
Chain - 🔄
core
An iterator that links two iterators together, in a chain. - Iter
Cloned - 🔄
core
An iterator that clones the elements of an underlying iterator. - Iter
Copied - 🔄
core
An iterator that copies the elements of an underlying iterator. - Iter
Cycle - 🔄
core
An iterator that repeats endlessly. - Iter
Empty - 🔄
core
An iterator that yields nothing. - Iter
Enumerate - 🔄
core
An iterator that yields the current count and the element during iteration. - Iter
Filter - 🔄
core
An iterator that filters the elements ofiter
withpredicate
. - Iter
Filter Map - 🔄
core
An iterator that usesf
to both filter and map elements fromiter
. - Iter
Flat Map - 🔄
core
An iterator that maps each element to an iterator, and yields their elements. - Iter
Flatten - 🔄
core
An iterator that flattens one level of nesting in an iterator of iterables. - Iter
From Fn - 🔄
core
An iterator where each iteration calls a closureF: FnMut() -> Option<T>
. - Iter
Fuse - 🔄
core
An iterator that yieldsNone
forever after the underlying yieldsNone
once. - Iter
Inspect - 🔄
core
An iterator that calls a fn with a reference to each element before yielding it. - IterMap
- 🔄
core
An iterator that maps the values of iter withf
. - Iter
MapWhile - 🔄
core
An iterator that only accepts elements whilepredicate
returnsSome(_)
. - Iter
Once - 🔄
core
An iterator that yields an element exactly once. - Iter
Once With - 🔄
core
An iterator that yields a single elementA
by callingF: FnOnce() -> A
. - Iter
Peekable - 🔄
core
An iterator with apeek()
that returns an optional ref to the next element. - Iter
Repeat - 🔄
core
An iterator that repeats an element endlessly. - Iter
RepeatN - 🔄
core
An iterator that repeats an element an exact number of times. - Iter
Repeat With - 🔄
core
An iterator that endlessly repeatsA
by callingF: FnMut() -> A
. - IterRev
- 🔄
core
A double-ended iterator with the direction inverted. - Iter
Scan - 🔄
core
An iterator to maintain state while iterating another iterator. - Iter
Skip - 🔄
core
An iterator that skips overn
elements ofiter
. - Iter
Skip While - 🔄
core
An iterator that rejects elements whilepredicate
returnstrue
. - Iter
Step By - 🔄
core
An iterator for stepping iterators by a custom amount. - Iter
Successors - 🔄
core
An iterator where each successive item is computed based on the preceding one. - Iter
Take - 🔄
core
An iterator that only iterates over the firstn
iterations ofiter
. - Iter
Take While - 🔄
core
An iterator that only accepts elements whilepredicate
returnstrue
. - IterZip
- 🔄
core
An iterator that iterates two other iterators simultaneously.
Traits§
- Iterator
- 🔄
core
A trait for dealing with iterators. - Iterator
Double Ended - 🔄
core
An iterator able to yield elements from both ends. - Iterator
Exact Size - 🔄
core
An iterator that knows its exact length. - Iterator
Extend - 🔄
core
Extend a collection with the contents of an iterator. - Iterator
From - 🔄
core
Conversion from anIterator
. - Iterator
Fused - 🔄
core
An iterator that always continues to yieldNone
when exhausted. - Iterator
Into - 🔄
core
Conversion into anIterator
. - Iterator
Multi Unzip dep_itertools
- 🔄
itertools
An iterator that can be unzipped into multiple collections. - Iterator
Peeking Next dep_itertools
- 🔄
itertools
An iterator that allows peeking at an element before deciding to accept it. - Iterator
Product - 🔄
core
Represents types that can be created by multiplying elements of an iterator. - Iterator
Sum - 🔄
core
Represents types that can be created by summing up an iterator. - Itertools
dep_itertools
- 🔄
itertools
AnIterator
blanket impl providing extra adaptors and methods.
Functions§
- iter_
from_ coroutine Experimental nightly_coro
core
Creates an iterator where each iteration calls the provided coroutine.