[−][src]Type Definition permutator::KPermutationParams
type KPermutationParams<'a, T> = (&'a [T], usize);
A pair of parameter that allow Permutation
trait
to create k-permutation iterator from it.
This type is used exclusively in trait Permutation
Format
- First value in tuple is
&'a [T]
. It's a source data to generate k-permutation. - Second value in tuple is
usize
. It'sk
size which shall be less thann
wheren
is a length of the first value.
Trait Implementations
impl<'a, T> Permutation<'a> for KPermutationParams<'a, T>
[src]
type Permutator = KPermutationIterator<'a, T>
A permutation generator for a collection of data. # See - Foreign implementation for an example different return type Read more
ⓘImportant traits for KPermutationIterator<'a, T>fn permutation(&'a mut self) -> KPermutationIterator<'a, T>
[src]
ⓘImportant traits for KPermutationIterator<'a, T>