pub struct BenchmarkAverages {
pub instructions: f64,
pub heap_bytes: f64,
pub memory_bytes: f64,
pub total_allocation: f64,
}Fields§
§instructions: f64§heap_bytes: f64§memory_bytes: f64§total_allocation: f64Trait Implementations§
Source§impl Clone for BenchmarkAverages
impl Clone for BenchmarkAverages
Source§fn clone(&self) -> BenchmarkAverages
fn clone(&self) -> BenchmarkAverages
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 BenchmarkAverages
impl Debug for BenchmarkAverages
Source§impl Default for BenchmarkAverages
impl Default for BenchmarkAverages
Source§fn default() -> BenchmarkAverages
fn default() -> BenchmarkAverages
Returns the “default value” for a type. Read more
Source§impl PartialEq for BenchmarkAverages
impl PartialEq for BenchmarkAverages
Source§fn eq(&self, other: &BenchmarkAverages) -> bool
fn eq(&self, other: &BenchmarkAverages) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BenchmarkAverages
impl StructuralPartialEq for BenchmarkAverages
Auto Trait Implementations§
impl Freeze for BenchmarkAverages
impl RefUnwindSafe for BenchmarkAverages
impl Send for BenchmarkAverages
impl Sync for BenchmarkAverages
impl Unpin for BenchmarkAverages
impl UnsafeUnpin for BenchmarkAverages
impl UnwindSafe for BenchmarkAverages
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