autd3_driver::firmware::operation

Trait OperationGenerator

source
pub trait OperationGenerator {
    type O1: Operation;
    type O2: Operation;

    // Required method
    fn generate(&self, device: &Device) -> (Self::O1, Self::O2);
}

Required Associated Types§

Required Methods§

source

fn generate(&self, device: &Device) -> (Self::O1, Self::O2)

Implementors§

source§

impl OperationGenerator for ModulationOperationGenerator

source§

type O1 = ModulationOp

source§

type O2 = NullOp

source§

impl<'a, G: Gain + 'a> OperationGenerator for GainOperationGenerator<G>

source§

type O1 = GainOp

source§

type O2 = NullOp