[−][src]Module no_std_compat::iter
Structs
Chain | An iterator that strings two iterators together. |
Cloned | An iterator that clones the elements of an underlying iterator. |
Copied | An iterator that copies the elements of an underlying iterator. |
Cycle | An iterator that repeats endlessly. |
Empty | An iterator that yields nothing. |
Enumerate | An iterator that yields the current count and the element during iteration. |
Filter | An iterator that filters the elements of |
FilterMap | An iterator that uses |
FlatMap | An iterator that maps each element to an iterator, and yields the elements of the produced iterators. |
Flatten | An iterator that flattens one level of nesting in an iterator of things that can be turned into iterators. |
FromFn | An iterator where each iteration calls the provided closure |
Fuse | An iterator that yields |
Inspect | An iterator that calls a function with a reference to each element before yielding it. |
Map | An iterator that maps the values of |
Once | An iterator that yields an element exactly once. |
Peekable | An iterator with a |
Repeat | An iterator that repeats an element endlessly. |
RepeatWith | An iterator that repeats elements of type |
Rev | A double-ended iterator with the direction inverted. |
Scan | An iterator to maintain state while iterating another iterator. |
Skip | An iterator that skips over |
SkipWhile | An iterator that rejects elements while |
StepBy | An iterator for stepping iterators by a custom amount. |
Successors | An new iterator where each successive item is computed based on the preceding one. |
Take | An iterator that only iterates over the first |
TakeWhile | An iterator that only accepts elements while |
Zip | An iterator that iterates two other iterators simultaneously. |
OnceWith | Experimental An iterator that yields a single element of type |
Traits
DoubleEndedIterator | An iterator able to yield elements from both ends. |
ExactSizeIterator | An iterator that knows its exact length. |
Extend | Extend a collection with the contents of an iterator. |
FromIterator | Conversion from an |
FusedIterator | An iterator that always continues to yield |
IntoIterator | Conversion into an |
Iterator | An interface for dealing with iterators. |
Product | Trait to represent types that can be created by multiplying elements of an iterator. |
Sum | Trait to represent types that can be created by summing up an iterator. |
Step | Experimental Objects that can be stepped over in both directions. |
TrustedLen | Experimental An iterator that reports an accurate length using size_hint. |
Functions
empty | Creates an iterator that yields nothing. |
from_fn | Creates a new iterator where each iteration calls the provided closure
|
once | Creates an iterator that yields an element exactly once. |
repeat | Creates a new iterator that endlessly repeats a single element. |
repeat_with | Creates a new iterator that repeats elements of type |
successors | Creates a new iterator where each successive item is computed based on the preceding one. |
once_with | Experimental Creates an iterator that lazily generates a value exactly once by invoking the provided closure. |