Type Definition permutator::SelfCartesianProductIntoRefParams
source · [−]Expand description
A type that used exclusively for trait CartesianProduct. It return SelfCartesianProductRefIter.
Format
- A slice of T.
- How many time to create a product on slice
- A mutable pointer to a slice of ref T
Trait Implementations
impl<'a, 'b: 'a, T> CartesianProduct<'a> for SelfCartesianProductIntoRefParams<'b, T> where
T: 'b,
impl<'a, 'b: 'a, T> CartesianProduct<'a> for SelfCartesianProductIntoRefParams<'b, T> where
T: 'b,
An implementation for convenient use of SelfCartesianProductRefIter
Warning
It hid unsafe object instantiation of SelfCartesianProductRefIter from user but all unsafe conditions are still applied as long as the life of object itself.