pub struct AuthorBenchReport {
pub arms: Vec<(AuthorArm, AuthorArmMetrics)>,
}Expand description
Report for a full offline authoring benchmark run.
Fields§
§arms: Vec<(AuthorArm, AuthorArmMetrics)>Ordered arm metrics.
Implementations§
Source§impl AuthorBenchReport
impl AuthorBenchReport
Sourcepub fn metrics(&self, arm: AuthorArm) -> Option<&AuthorArmMetrics>
pub fn metrics(&self, arm: AuthorArm) -> Option<&AuthorArmMetrics>
Returns metrics for an arm.
Trait Implementations§
Source§impl Clone for AuthorBenchReport
impl Clone for AuthorBenchReport
Source§fn clone(&self) -> AuthorBenchReport
fn clone(&self) -> AuthorBenchReport
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 AuthorBenchReport
impl Debug for AuthorBenchReport
Source§impl Default for AuthorBenchReport
impl Default for AuthorBenchReport
Source§fn default() -> AuthorBenchReport
fn default() -> AuthorBenchReport
Returns the “default value” for a type. Read more
impl Eq for AuthorBenchReport
Source§impl PartialEq for AuthorBenchReport
impl PartialEq for AuthorBenchReport
impl StructuralPartialEq for AuthorBenchReport
Auto Trait Implementations§
impl Freeze for AuthorBenchReport
impl RefUnwindSafe for AuthorBenchReport
impl Send for AuthorBenchReport
impl Sync for AuthorBenchReport
impl Unpin for AuthorBenchReport
impl UnsafeUnpin for AuthorBenchReport
impl UnwindSafe for AuthorBenchReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.