pub trait GainSTMContextGenerator {
type Gain: GainContextGenerator;
type Context: GainSTMContext<Context = <Self::Gain as GainContextGenerator>::Context>;
// Required method
fn generate(&mut self, device: &Device) -> Self::Context;
}Expand description
A trait to generate the GainSTMContext.
Required Associated Types§
Sourcetype Gain: GainContextGenerator
type Gain: GainContextGenerator
The element type of the gain sequence.
Sourcetype Context: GainSTMContext<Context = <Self::Gain as GainContextGenerator>::Context>
type Context: GainSTMContext<Context = <Self::Gain as GainContextGenerator>::Context>
GainSTMContext that generates the sequence of Gain.