no_std_compat

Module iter

Source

Structs§

  • An iterator that links two iterators together, in a chain.
  • An iterator that clones the elements of an underlying iterator.
  • An iterator that copies the elements of an underlying iterator.
  • An iterator that repeats endlessly.
  • An iterator that yields nothing.
  • An iterator that yields the current count and the element during iteration.
  • An iterator that filters the elements of iter with predicate.
  • An iterator that uses f to both filter and map elements from iter.
  • An iterator that maps each element to an iterator, and yields the elements of the produced iterators.
  • An iterator that flattens one level of nesting in an iterator of things that can be turned into iterators.
  • An iterator where each iteration calls the provided closure F: FnMut() -> Option<T>.
  • An iterator that yields None forever after the underlying iterator yields None once.
  • An iterator that calls a function with a reference to each element before yielding it.
  • An iterator that maps the values of iter with f.
  • An iterator that only accepts elements while predicate returns Some(_).
  • An iterator that yields an element exactly once.
  • An iterator that yields a single element of type A by applying the provided closure F: FnOnce() -> A.
  • An iterator with a peek() that returns an optional reference to the next element.
  • An iterator that repeats an element endlessly.
  • An iterator that repeats an element an exact number of times.
  • An iterator that repeats elements of type A endlessly by applying the provided closure F: FnMut() -> A.
  • A double-ended iterator with the direction inverted.
  • An iterator to maintain state while iterating another iterator.
  • An iterator that skips over n elements of iter.
  • An iterator that rejects elements while predicate returns true.
  • An iterator for stepping iterators by a custom amount.
  • A new iterator where each successive item is computed based on the preceding one.
  • An iterator that only iterates over the first n iterations of iter.
  • An iterator that only accepts elements while predicate returns true.
  • An iterator that iterates two other iterators simultaneously.
  • ArrayChunksExperimental
    An iterator over N elements of the iterator at a time.
  • ByRefSizedExperimental
    Like Iterator::by_ref, but requiring Sized so it can forward generics.
  • IntersperseExperimental
    An iterator adapter that places a separator between all elements.
  • IntersperseWithExperimental
    An iterator adapter that places a separator between all elements.
  • MapWindowsExperimental
    An iterator over the mapped windows of another iterator.

Traits§

  • An iterator able to yield elements from both ends.
  • An iterator that knows its exact length.
  • Extend a collection with the contents of an iterator.
  • Conversion from an Iterator.
  • An iterator that always continues to yield None when exhausted.
  • Conversion into an Iterator.
  • A trait for dealing with iterators.
  • Trait to represent types that can be created by multiplying elements of an iterator.
  • Trait to represent types that can be created by summing up an iterator.
  • StepExperimental
    Objects that have a notion of successor and predecessor operations.
  • TrustedLenExperimental
    An iterator that reports an accurate length using size_hint.
  • TrustedStepExperimental
    A type that upholds all invariants of Step.

Functions§

  • Creates an iterator that yields nothing.
  • Creates a new iterator where each iteration calls the provided closure F: FnMut() -> Option<T>.
  • Creates an iterator that yields an element exactly once.
  • Creates an iterator that lazily generates a value exactly once by invoking the provided closure.
  • Creates a new iterator that endlessly repeats a single element.
  • Creates a new iterator that repeats a single element a given number of times.
  • Creates a new iterator that repeats elements of type A endlessly by applying the provided closure, the repeater, F: FnMut() -> A.
  • Creates a new iterator where each successive item is computed based on the preceding one.
  • Converts the arguments to iterators and zips them.
  • chainExperimental
    Converts the arguments to iterators and links them together, in a chain.
  • from_coroutineExperimental
    Creates a new iterator where each iteration calls the provided coroutine.