pub struct CriterionTableData { /* private fields */ }
Expand description
Fully processed Criterion benchmark data ready for formatting
Implementations§
Source§impl CriterionTableData
impl CriterionTableData
Sourcepub fn from_raw(raw_data: &[RawCriterionData]) -> Result<Self>
pub fn from_raw(raw_data: &[RawCriterionData]) -> Result<Self>
Build table data from the input raw Criterion data
Sourcepub fn make_tables(&self, f: impl Formatter, config: &TablesConfig) -> String
pub fn make_tables(&self, f: impl Formatter, config: &TablesConfig) -> String
Given a Formatter
and TablesConfig
, generate formatted tables as a String
Trait Implementations§
Source§impl Clone for CriterionTableData
impl Clone for CriterionTableData
Source§fn clone(&self) -> CriterionTableData
fn clone(&self) -> CriterionTableData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CriterionTableData
impl RefUnwindSafe for CriterionTableData
impl !Send for CriterionTableData
impl !Sync for CriterionTableData
impl Unpin for CriterionTableData
impl UnwindSafe for CriterionTableData
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