GainCalculator

Trait GainCalculator 

Source
pub trait GainCalculator<'a>: Send + Sync {
    // Required method
    fn calc(&self, tr: &'a Transducer) -> Drive;
}
Available on crate feature gain only.
Expand description

A trait to calculate the phase and intensity for each Transducer.

Required Methods§

Source

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

Calculates the phase and intensity for the given Transducer.

Trait Implementations§

Source§

impl<'a> GainCalculator<'a> for Box<dyn GainCalculator<'a>>

Source§

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

Calculates the phase and intensity for the given Transducer.

Implementations on Foreign Types§

Source§

impl<'a> GainCalculator<'a> for Box<dyn GainCalculator<'a>>

Source§

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

Implementors§