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)[src]

Applies the given permutation to the given array.

Loading content...

Implementors

impl<T, P: ?Sized + Permutation> Permutator<T, P> for HeapPermutator[src]

impl<T, P: ?Sized + Permutation> Permutator<T, P> for InplacePermutator[src]

impl<T, P: ?Sized + Permutation> Permutator<T, P> for SparseHeapPermutator[src]

impl<T: Clone, P: ?Sized + Permutation> Permutator<T, P> for HeapCopyPermutator<T>[src]

impl<T: Clone, P: ?Sized + Permutation> Permutator<T, P> for StackCopyPermutator[src]

Loading content...