Trait tango_bench::SamplerFactory

source ·
pub trait SamplerFactory {
    // Required method
    fn create_sampler(
        &mut self,
        params: BenchmarkParams,
    ) -> Box<dyn ErasedSampler>;
}

Required Methods§

source

fn create_sampler(&mut self, params: BenchmarkParams) -> Box<dyn ErasedSampler>

Implementors§