pub struct BenchmarkSpan {
pub suite: String,
pub span_label: String,
pub start_line: usize,
pub end_line: usize,
pub end: BenchmarkCounters,
pub delta: BenchmarkCounters,
}Expand description
Matched start/end markers with nonnegative counter differences.
Fields§
§suite: StringDerived suite name.
span_label: StringMarker label used to group matching spans.
start_line: usizeOne-based line of the opening marker.
end_line: usizeOne-based line of the closing marker.
end: BenchmarkCountersCounter values observed at the closing marker.
delta: BenchmarkCountersClosing counters minus opening counters.
Trait Implementations§
Source§impl Clone for BenchmarkSpan
impl Clone for BenchmarkSpan
Source§impl Debug for BenchmarkSpan
impl Debug for BenchmarkSpan
impl Eq for BenchmarkSpan
Source§impl PartialEq for BenchmarkSpan
impl PartialEq for BenchmarkSpan
impl StructuralPartialEq for BenchmarkSpan
Auto Trait Implementations§
impl Freeze for BenchmarkSpan
impl RefUnwindSafe for BenchmarkSpan
impl Send for BenchmarkSpan
impl Sync for BenchmarkSpan
impl Unpin for BenchmarkSpan
impl UnsafeUnpin for BenchmarkSpan
impl UnwindSafe for BenchmarkSpan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.