CartesianProductIntoCellParams

Type Alias CartesianProductIntoCellParams 

Source
pub type CartesianProductIntoCellParams<'a, T> = (&'a [&'a [T]], Rc<RefCell<&'a mut [&'a T]>>);
Expand description

A type that represent a cartesian product of the slice over slices and return result into Rc<RefCell<&mut [&T]>> by using CartesianProductCellIter

§Format

  1. A mutable slice of slices. It’s a domains to of a cartesian product operation.
  2. An Rc<RefCell<&mut[&T]>. It’s a result container.

Trait Implementations§

Source§

impl<'a, 'b: 'a, T> CartesianProduct<'a> for CartesianProductIntoCellParams<'b, T>
where T: 'b,

Source§

type Producer = CartesianProductCellIter<'b, T>

Source§

fn cart_prod(&'a self) -> Self::Producer

Create a cartesian product producer which can be used to iterate over each product.