pub struct Benchmark {
pub name: &'static str,
pub func: fn(BenchmarkContext) -> Result<Vec<SubBenchResult>>,
}Fields§
§name: &'static str§func: fn(BenchmarkContext) -> Result<Vec<SubBenchResult>>Auto Trait Implementations§
impl Freeze for Benchmark
impl RefUnwindSafe for Benchmark
impl Send for Benchmark
impl Sync for Benchmark
impl Unpin for Benchmark
impl UnwindSafe for Benchmark
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