pub trait Permutation {
// Required methods
fn len(&self) -> usize;
fn inverse(&self) -> Self;
fn indices(&self) -> &[usize];
fn pow(&self, exp: u32) -> Self;
}Expand description
An abstract representation of permutation data structure.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.