pub struct Bencher {
pub bytes: u64,
// some fields omitted
}
🔬 This is a nightly-only experimental API. (test
)
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
.
🔬 This is a nightly-only experimental API. (test
)
🔬 This is a nightly-only experimental API. (test
)
Callback for benchmark functions to run in their body.
🔬 This is a nightly-only experimental API. (test
)
Performs copy-assignment from source
. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more