pub struct CountAndSize {
pub count: usize,
pub size: usize,
}Expand description
Sampled totals for live items.
Fields§
§count: usize§size: usizeTrait Implementations§
Source§impl Clone for CountAndSize
impl Clone for CountAndSize
Source§fn clone(&self) -> CountAndSize
fn clone(&self) -> CountAndSize
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 moreSource§impl Debug for CountAndSize
impl Debug for CountAndSize
Source§impl Default for CountAndSize
impl Default for CountAndSize
Source§fn default() -> CountAndSize
fn default() -> CountAndSize
Returns the “default value” for a type. Read more
Source§impl PartialEq for CountAndSize
impl PartialEq for CountAndSize
impl Copy for CountAndSize
impl Eq for CountAndSize
impl StructuralPartialEq for CountAndSize
Auto Trait Implementations§
impl Freeze for CountAndSize
impl RefUnwindSafe for CountAndSize
impl Send for CountAndSize
impl Sync for CountAndSize
impl Unpin for CountAndSize
impl UnwindSafe for CountAndSize
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