pub type BenchFn<T, R> = Box<dyn Fn(T) -> R + Send + Sync>;
Type alias for a function to benchmark that takes an argument of type T and returns a result of type R.
T
R
struct BenchFn<T, R>(/* private fields */);