pub trait Permutation<T: Clone>: Clone + Sync {
// Provided methods
fn permute(&self, input: T) -> T { ... }
fn permute_mut(&self, input: &mut T) { ... }
}Expand description
A permutation in the mathematical sense.
Provided Methods§
fn permute(&self, input: T) -> T
fn permute_mut(&self, input: &mut T)
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.