autd3_driver::firmware::operation

Trait GainSTMContext

Source
pub trait GainSTMContext: Send + Sync {
    type Context: GainContext;

    // Required method
    fn next(&mut self) -> Option<Self::Context>;
}
Expand description

A trait to build a GainContext for GainSTM.

Required Associated Types§

Required Methods§

Source

fn next(&mut self) -> Option<Self::Context>

Returns the next GainContext.

Implementors§