devela::data

Module iter

Source
Expand description

Composable external iteration.

Extends: std::{iter}


Structsยง

  • ๐Ÿ”„ core An iterator that links two iterators together, in a chain.
  • ๐Ÿ”„ core An iterator that clones the elements of an underlying iterator.
  • ๐Ÿ”„ core An iterator that copies the elements of an underlying iterator.
  • ๐Ÿ”„ core An iterator that repeats endlessly.
  • ๐Ÿ”„ core An iterator that yields nothing.
  • ๐Ÿ”„ core An iterator that yields the current count and the element during iteration.
  • ๐Ÿ”„ core An iterator that filters the elements of iter with predicate.
  • ๐Ÿ”„ core An iterator that uses f to both filter and map elements from iter.
  • ๐Ÿ”„ core An iterator that maps each element to an iterator, and yields their elements.
  • ๐Ÿ”„ core An iterator that flattens one level of nesting in an iterator of iterables.
  • ๐Ÿ”„ core An iterator where each iteration calls a closure F: FnMut() -> Option<T>.
  • ๐Ÿ”„ core An iterator that yields None forever after the underlying yields None once.
  • ๐Ÿ”„ core An iterator that calls a fn with a reference to each element before yielding it.
  • ๐Ÿ”„ core An iterator that maps the values of iter with f.
  • ๐Ÿ”„ core An iterator that only accepts elements while predicate returns Some(_).
  • ๐Ÿ”„ core An iterator that yields an element exactly once.
  • ๐Ÿ”„ core An iterator that yields a single element A by calling F: FnOnce() -> A.
  • ๐Ÿ”„ core An iterator with a peek() that returns an optional ref to the next element.
  • ๐Ÿ”„ core An iterator that repeats an element endlessly.
  • ๐Ÿ”„ core An iterator that endlessly repeats A by calling F: FnMut() -> A.
  • ๐Ÿ”„ core A double-ended iterator with the direction inverted.
  • ๐Ÿ”„ core An iterator to maintain state while iterating another iterator.
  • ๐Ÿ”„ core An iterator that skips over n elements of iter.
  • ๐Ÿ”„ core An iterator that rejects elements while predicate returns true.
  • ๐Ÿ”„ core An iterator for stepping iterators by a custom amount.
  • ๐Ÿ”„ core An iterator where each successive item is computed based on the preceding one.
  • ๐Ÿ”„ core An iterator that only iterates over the first n iterations of iter.
  • ๐Ÿ”„ core An iterator that only accepts elements while predicate returns true.
  • ๐Ÿ”„ core An iterator that iterates two other iterators simultaneously.

Traitsยง

Functionsยง

  • core Creates an iterator that yields nothing.
  • core Creates an iterator that calls the given closure F: FnMut() -> Option<T>.
  • core Creates an iterator that yields an element exactly once.
  • core Creates an iterator that lazily generates a value exactly once.
  • core Creates an iterator that endlessly repeats a single element.
  • core Creates an iterator that endlessly repeats calling F: FnMut() -> A.
  • core Creates an iterator where each successive item is computed based on the previous.
  • core Converts the arguments to iterators and zips them.
  • iter_from_coroutineExperimentalnightly_coro
    core Creates an iterator where each iteration calls the provided coroutine.