pub struct BenchmarkCase<'a> {
pub name: &'a str,
pub score: &'a Score,
pub expected: BenchmarkExpectation,
}Expand description
One benchmark fixture and its hand-verified expectation.
Fields§
§name: &'a str§score: &'a Score§expected: BenchmarkExpectationTrait Implementations§
Source§impl<'a> Clone for BenchmarkCase<'a>
impl<'a> Clone for BenchmarkCase<'a>
Auto Trait Implementations§
impl<'a> Freeze for BenchmarkCase<'a>
impl<'a> RefUnwindSafe for BenchmarkCase<'a>
impl<'a> Send for BenchmarkCase<'a>
impl<'a> Sync for BenchmarkCase<'a>
impl<'a> Unpin for BenchmarkCase<'a>
impl<'a> UnsafeUnpin for BenchmarkCase<'a>
impl<'a> UnwindSafe for BenchmarkCase<'a>
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