pub trait GainContextGenerator {
type Context: GainContext;
// Required method
fn generate(&mut self, device: &Device) -> Self::Context;
}Expand description
A trait for generating a context for the gain operation.
Required Associated Types§
Sourcetype Context: GainContext
type Context: GainContext
The type of the context that actually performs the calculation.