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