Trait autd3::derive::IntoGainCache

source ·
pub trait IntoGainCache<G>
where G: Gain,
{ // Required method fn with_cache(self) -> Cache<G>; }

Required Methods§

source

fn with_cache(self) -> Cache<G>

Implementors§

source§

impl IntoCache<Bessel> for Bessel

source§

impl IntoCache<Focus> for Focus

source§

impl IntoCache<Null> for Null

source§

impl IntoCache<Plane> for Plane

source§

impl IntoCache<Uniform> for Uniform

source§

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

source§

impl<G, FT, F> IntoCache<Transform<G, FT, F>> for Transform<G, FT, F>
where G: Gain, FT: Fn(&Transducer, Drive) -> Drive + Send + Sync + 'static, F: Fn(&Device) -> FT,

source§

impl<K, FK, F> IntoCache<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,