Trait autd3_driver::datagram::IntoGainTransform
source · pub trait IntoGainTransform<G: Gain> {
// Required method
fn with_transform<F: Fn(&Device, &Transducer, Drive) -> Drive>(
self,
f: F
) -> Transform<G, F>;
}Required Methods§
sourcefn with_transform<F: Fn(&Device, &Transducer, Drive) -> Drive>(
self,
f: F
) -> Transform<G, F>
fn with_transform<F: Fn(&Device, &Transducer, Drive) -> Drive>( self, f: F ) -> Transform<G, F>
transform gain data
§Arguments
f- transform function. The first argument is the device, the second is transducer, and the third is the original drive data.
Object Safety§
This trait is not object safe.