pub enum BenchMode {
Auto,
Single,
}
🔬This is a nightly-only experimental API. (
test
)Expand description
Number of times to run a benchmarked function
Variants§
Auto
🔬This is a nightly-only experimental API. (
test
)Single
🔬This is a nightly-only experimental API. (
test
)Trait Implementations§
source§impl PartialEq<BenchMode> for BenchMode
impl PartialEq<BenchMode> for BenchMode
impl StructuralEq for BenchMode
impl StructuralPartialEq for BenchMode
Auto Trait Implementations§
impl RefUnwindSafe for BenchMode
impl Send for BenchMode
impl Sync for BenchMode
impl Unpin for BenchMode
impl UnwindSafe for BenchMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more