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