Struct criterion::Fun [] [src]

pub struct Fun<I: Display> { /* fields omitted */ }

Representing a function to benchmark together with a name of that function. Used together with bench_functions to represent one out of multiple functions under benchmark.

Methods

impl<I> Fun<I> where
    I: Display
[src]

[src]

Create a new Fun given a name and a closure