Struct bencher::Bencher [] [src]

pub struct Bencher {
    pub bytes: u64,
    // some fields omitted
}

Manager of the benchmarking runs.

This is fed into functions marked with #[bench] to allow for set-up & tear-down before running a piece of code repeatedly via a call to iter.

Fields

Methods

impl Bencher
[src]

[src]

Callback for benchmark functions to run in their body.

[src]

[src]

[src]

[src]

Trait Implementations

impl Copy for Bencher
[src]

impl Clone for Bencher
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more