Module pushgen::structs

source ·
Expand description

Generator adaptor implementations. See GeneratorExt for more info.

Structs

  • Implements a chained generator. See .chain() for details.
  • A generator that clones the elements of an underlying generator. See `.cloned() for details
  • A generator that copies the elements of an underlying generator. See .copied() for details.
  • Repeates a generator endlessly. See cycle() for details.
  • Deduplication of duplicate consecutive values. See .dedup() for details.
  • A generator that yields the current count and the value when run. See enumerate() for details.
  • Implements a filtered generator. See .filter() for more details.
  • Implements a mapped generator. See .map() for details.
  • Flatten generator implementation. See .flatten() for details.
  • Inspect each value and then pass it on. See inspect() for details.
  • Adapt a generator into an iterator. See .iter() for more info.
  • Implements a mapped generator. See .map() for details.
  • Reverses a generators direction. See rev() for details.
  • A generator adaptor that holds internal state and creates a new generator. See scan() for details.
  • Skip over a set amount of values. See .skip() for more details.
  • Skip over of values based on a closure. See .skip() for more details.
  • Create a stepping generator. See step_by() for details.
  • Take n values from a generator. See .take() for details.
  • A generator that only forwards values while the predicate returns true. See .take_while() for details.
  • Zip two generators. See .zip() for details.