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