Trait tango_bench::BenchmarkFn
source · pub trait BenchmarkFn<H, N, O> {
// Required methods
fn measure(&self, haystack: &H, needle: &N, iterations: usize) -> u64;
fn name(&self) -> &str;
}pub trait BenchmarkFn<H, N, O> {
// Required methods
fn measure(&self, haystack: &H, needle: &N, iterations: usize) -> u64;
fn name(&self) -> &str;
}