Trait eytzinger::permutation::Permutator
[−]
[src]
pub trait Permutator<T, P: ?Sized + Permutation> { fn permute(&mut self, data: &mut [T], permutation: &P); }
A generic permutator.
Required Methods
fn permute(&mut self, data: &mut [T], permutation: &P)
Applies the given permutation to the given array.
Implementors
impl<T, P: ?Sized + Permutation> Permutator<T, P> for InplacePermutator