Struct eytzinger::permutation::InplacePermutator [] [src]

pub struct InplacePermutator;

Simple permutator that does not allocate.

Worst-case runtime is in O(n^2), so you should only use this for small permutations.

Trait Implementations

impl Clone for InplacePermutator
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for InplacePermutator
[src]

impl Debug for InplacePermutator
[src]

[src]

Formats the value using the given formatter.

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

[src]

Applies the given permutation to the given array.