Enum test::TestFn [] [src]

pub enum TestFn {
    StaticTestFn(fn()),
    StaticBenchFn(fn(&mut Bencher)),
    StaticMetricFn(fn(&mut MetricMap)),
    DynTestFn(Box<FnBox() + Send>),
    DynMetricFn(Box<FnBox(&mut MetricMap) + Send>),
    DynBenchFn(Box<TDynBenchFn + 'static>),
}
Unstable (test)

Variants

StaticTestFn(fn())
Unstable (test)
StaticBenchFn(fn(&mut Bencher))
Unstable (test)
StaticMetricFn(fn(&mut MetricMap))
Unstable (test)
DynTestFn(Box<FnBox() + Send>)
Unstable (test)
DynMetricFn(Box<FnBox(&mut MetricMap) + Send>)
Unstable (test)
DynBenchFn(Box<TDynBenchFn + 'static>)
Unstable (test)

Trait Implementations

impl Debug for TestFn
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.