Trait eytzinger::permutation::Permutation [−][src]
A generic permutation.
Associated Types
type Iter: Iterator<Item = usize>
[src]
An iterator through the permutation. This may be more efficient than indexing a counter.
Required methods
fn iterable(&self) -> Self::Iter
[src]
Get an iterator.
fn index(&self, i: usize) -> usize
[src]
Index into this permutation.
Implementations on Foreign Types
impl<'a> Permutation for &'a [usize]
[src]
type Iter = Cloned<Iter<'a, usize>>
fn iterable(&self) -> Self::Iter
[src]
fn index(&self, i: usize) -> usize
[src]
Implementors
impl Permutation for PermutationGenerator
[src]
type Iter = PermutationGenerator
fn iterable(&self) -> PermutationGeneratorⓘNotable traits for PermutationGenerator
impl Iterator for PermutationGenerator type Item = usize;
[src]
Notable traits for PermutationGenerator
impl Iterator for PermutationGenerator type Item = usize;