pub trait RollFunction: Copy + Default {
type State: PermutationState;
// Required method
fn apply(self, state: &mut Self::State);
}Expand description
A rolling function as used in the Farfalle construction.
Required Associated Types§
Sourcetype State: PermutationState
type State: PermutationState
The state this rolling function acts upon.
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.