Trait GainCalculator

Source
pub trait GainCalculator: Send + Sync {
    // Required method
    fn calc(&self, tr: &Transducer) -> Drive;
}
Available on crate feature gain only.
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 GainCalculator for Box<dyn GainCalculator>

Source§

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

Calculates the phase and intensity for the transducer.

Implementations on Foreign Types§

Source§

impl GainCalculator for Box<dyn GainCalculator>

Source§

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

Implementors§