Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
criterion::Fun - Rust
[go: Go Back, main page]

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