Struct criterion::Fun[][src]

pub struct Fun<I: Debug> { /* 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: Debug + 'static, 
[src]

Create a new Fun given a name and a closure

Auto Trait Implementations

impl<I> !Send for Fun<I>

impl<I> !Sync for Fun<I>