Trait autd3::derive::IntoGainTransform

source ·
pub trait IntoGainTransform<G>
where G: Gain,
{ // Required method fn with_transform<FT, F>(self, f: F) -> Transform<G, FT, F> where FT: Fn(&Transducer, Drive) -> Drive + Send + Sync + 'static, F: Fn(&Device) -> FT; }

Required Methods§

source

fn with_transform<FT, F>(self, f: F) -> Transform<G, FT, F>
where FT: Fn(&Transducer, Drive) -> Drive + Send + Sync + 'static, F: Fn(&Device) -> FT,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl IntoTransform<Bessel> for Bessel

source§

impl IntoTransform<Focus> for Focus

source§

impl IntoTransform<Null> for Null

source§

impl IntoTransform<Plane> for Plane

source§

impl IntoTransform<Uniform> for Uniform

source§

impl<FT: Fn(&Transducer) -> Drive + Send + Sync + 'static, F: Fn(&Device) -> FT + 'static> IntoTransform<Custom<FT, F>> for Custom<FT, F>

source§

impl<K, FK, F> IntoTransform<Group<K, FK, F>> for Group<K, FK, F>
where K: Hash + Eq + Clone + Debug + Send + Sync + 'static, FK: Fn(&Transducer) -> Option<K> + Send + Sync + 'static, F: Fn(&Device) -> FK + Send + Sync + 'static,