pub trait IntoGainCache<G: Gain + 'static> {
    // Required method
    fn with_cache(self) -> Cache<G>;
}

Required Methods§

source

fn with_cache(self) -> Cache<G>

Cache the result of calculation

Implementors§

source§

impl<G: Gain + 'static, F: Fn(&Device, &Transducer, Drive) -> Drive + 'static> IntoCache<Transform<G, F>> for Transform<G, F>
where GainOp<Self>: Operation,

source§

impl<K, F> IntoCache<Group<K, F>> for Group<K, F>
where GainOp<Self>: Operation, K: Hash + Eq + Clone + 'static, F: Fn(&Device, &Transducer) -> Option<K> + 'static,