pub trait Modifier<Dim: Dimension> {
type Output<T: Generator<Dim>>: Generator<Dim>;
// Required method
fn modify<T: Generator<Dim>>(self, generator: T) -> Self::Output<T>;
}Expand description
Post-processes existing generators.
Modifiers get access to the original generator, so they may call the underlying generator repeatedly to get schedules they would like.
Required Associated Types§
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.