pub enum TestFn {
StaticTestFn(fn()),
StaticBenchFn(fn(_: &mut Bencher)),
DynTestFn(Box<dyn FnOnce() + Send>),
DynBenchFn(Box<dyn Fn(&mut Bencher) + Send>),
}
🔬 This is a nightly-only experimental API. (
test
)Variants
StaticTestFn(fn())
🔬 This is a nightly-only experimental API. (
test
)StaticBenchFn(fn(_: &mut Bencher))
🔬 This is a nightly-only experimental API. (
test
)DynTestFn(Box<dyn FnOnce() + Send>)
🔬 This is a nightly-only experimental API. (
test
)DynBenchFn(Box<dyn Fn(&mut Bencher) + Send>)
🔬 This is a nightly-only experimental API. (
test
)Implementations
🔬 This is a nightly-only experimental API. (
test
)