pub type CombinationIntoRefParams<'a, T> = (&'a [T], *mut [T]);
Expand description

A pair of source and sink to get a sharable combination.

It’s tuple contains a source data to generate a combination and a sink to temporary store each combination.

This type is use exclusively with trait Combination

Format

  1. A mutable slice of slices. It’s a domains to of a cartesian product operation.
  2. A pointer to mutable slice of value. It’s a result container.

Trait Implementations

An implementation for convenient use of LargeCombinationRefIter

Warning

It hid unsafe object instantiation of LargeCombinationRefIter from user but all unsafe conditions are still applied as long as the life of object itself.

Create a CombinationIterator of k size out of self. See CombinationIterator for how to use CombinationIterator Read more