Trait eytzinger::permutation::Permutation [] [src]

pub trait Permutation {
    type Iter: Iterator<Item = usize>;
    fn iterable(&self) -> Self::Iter;
fn index(&self, i: usize) -> usize; }

A generic permutation.

Associated Types

An iterator through the permutation. This may be more efficient than indexing a counter.

Required Methods

Get an iterator.

Index into this permutation.

Implementations on Foreign Types

impl<'a> Permutation for &'a [usize]
[src]

[src]

[src]

Implementors