CombinationIntoCellParams

Type Alias CombinationIntoCellParams 

Source
pub type CombinationIntoCellParams<'a, T> = (&'a [T], Rc<RefCell<&'a mut [&'a 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. First value in tuple is a &'a [T] - It’s a source data to generate a combination.
  2. Second value in tuple is an Rc<RefCell<&’a mut[&’a T]>>` - It’s a sink to temporary store each combination.

Trait Implementations§

Source§

impl<'a, 'b: 'a, T> Combination<'a> for CombinationIntoCellParams<'b, T>

An implementation for convenient use of LargeCombinationCellIter