pub trait Permutation: Sized {
    // Required methods
    fn num_points(&self) -> u64;
    fn nth(&self, n: u64) -> Option<u64>;

    // Provided method
    fn iter(&self) -> PermutationIter<'_, Self>  { ... }
}

Required Methods§

source

fn num_points(&self) -> u64

source

fn nth(&self, n: u64) -> Option<u64>

Provided Methods§

source

fn iter(&self) -> PermutationIter<'_, Self>

Implementors§