pub trait Derangement<T: Clone>: Permutation<T> { }Expand description
A derangement: a permutation with no fixed points (d(x) != x for all x).
The standard choice is d(x) = x + 1 (via Increment).
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".