pub trait KeyGenerator<K, I: TuneInputs>:
Send
+ Sync
+ 'static {
// Required method
fn generate(&self, inputs: &I::At<'_>) -> K;
}Expand description
Produces an autotune key from a borrowed view of the tuning inputs.
Required Methods§
Implementors§
impl<K, I, Func> KeyGenerator<K, I> for Func
Any for<'a> Fn(&I::At<'a>) -> K is a KeyGenerator.