Trait GainSTMIteratorGenerator

Source
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§

Source

type Gain: GainCalculatorGenerator

The element type of the gain sequence.

Source

type Iterator: GainSTMIterator<Calculator = <Self::Gain as GainCalculatorGenerator>::Calculator>

GainSTMIterator that generates the sequence of Gain.

Required Methods§

Source

fn generate(&mut self, device: &Device) -> Self::Iterator

generates the iterator.

Implementations on Foreign Types§

Source§

impl<G: GainCalculatorGenerator> GainSTMIteratorGenerator for Vec<G>

Source§

type Gain = G

Source§

type Iterator = VecGainSTMIterator<<G as GainCalculatorGenerator>::Calculator>

Source§

fn generate(&mut self, device: &Device) -> Self::Iterator

Implementors§