pub struct NamedMetric {
pub name: String,
pub metric: BenchmarkMetric,
}Expand description
A benchmark measurement together with the name of the benchmark it belongs to, as read from one line of bencher output.
Fields§
§name: StringCanonical benchmark name.
metric: BenchmarkMetricThe measurement of that benchmark.
Trait Implementations§
Source§impl Clone for NamedMetric
impl Clone for NamedMetric
Source§fn clone(&self) -> NamedMetric
fn clone(&self) -> NamedMetric
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NamedMetric
impl Debug for NamedMetric
Source§impl PartialEq for NamedMetric
impl PartialEq for NamedMetric
impl StructuralPartialEq for NamedMetric
Auto Trait Implementations§
impl Freeze for NamedMetric
impl RefUnwindSafe for NamedMetric
impl Send for NamedMetric
impl Sync for NamedMetric
impl Unpin for NamedMetric
impl UnsafeUnpin for NamedMetric
impl UnwindSafe for NamedMetric
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