pub struct ManagedStats {
pub allocations: usize,
pub bytes_allocated: usize,
}Fields§
§allocations: usize§bytes_allocated: usizeTrait Implementations§
Source§impl Clone for ManagedStats
impl Clone for ManagedStats
Source§fn clone(&self) -> ManagedStats
fn clone(&self) -> ManagedStats
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 ManagedStats
impl Debug for ManagedStats
Source§impl Default for ManagedStats
impl Default for ManagedStats
Source§fn default() -> ManagedStats
fn default() -> ManagedStats
Returns the “default value” for a type. Read more
impl Copy for ManagedStats
Auto Trait Implementations§
impl Freeze for ManagedStats
impl RefUnwindSafe for ManagedStats
impl Send for ManagedStats
impl Sync for ManagedStats
impl Unpin for ManagedStats
impl UnsafeUnpin for ManagedStats
impl UnwindSafe for ManagedStats
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