Module rayon::iter::unzip

source ·

Structs§

  • Collector 🔒
    Shim to implement a one-time ParallelExtend using FromParallelIterator.
  • Partition 🔒
    An UnzipOp that routes items depending on a predicate function.
  • An UnzipOp that routes items depending on how they are mapped Either.
  • UnEither 🔒
    An UnzipOp that routes items depending on their Either variant.
  • Unzip 🔒
    An UnzipOp that splits a tuple directly into the two consumers.
  • UnzipA 🔒
    A fake iterator to intercept the Consumer for type A.
  • UnzipB 🔒
    A fake iterator to intercept the Consumer for type B.
  • Consumer that unzips into two other Consumers
  • Folder that unzips into two other Folders
  • Reducer that unzips into two other Reducers

Traits§

  • UnzipOp 🔒
    This trait abstracts the different ways we can “unzip” one parallel iterator into two distinct consumers, which we can handle almost identically apart from how to process the individual items.

Functions§

  • execute 🔒
    Runs an unzip-like operation into default ParallelExtend collections.
  • Runs an unzip-like operation into ParallelExtend collections.
  • partition 🔒
    Partitions the items of a parallel iterator into a pair of arbitrary ParallelExtend containers.
  • Partitions and maps the items of a parallel iterator into a pair of arbitrary ParallelExtend containers.
  • unzip 🔒
    Unzips the items of a parallel iterator into a pair of arbitrary ParallelExtend containers.
  • Unzips an IndexedParallelIterator into two arbitrary Consumers.