autd3_driver::firmware::operation

Trait GainContext

Source
pub trait GainContext: Send + Sync {
    // Required method
    fn calc(&self, tr: &Transducer) -> Drive;
}
Expand description

A trait to calculate the phase and intensity for Gain.

Required Methods§

Source

fn calc(&self, tr: &Transducer) -> Drive

Calculates the phase and intensity for the transducer.

Trait Implementations§

Source§

impl GainContext for Box<dyn GainContext>

Source§

fn calc(&self, tr: &Transducer) -> Drive

Calculates the phase and intensity for the transducer.

Implementations on Foreign Types§

Source§

impl GainContext for Box<dyn GainContext>

Source§

fn calc(&self, tr: &Transducer) -> Drive

Implementors§