pub struct ReuseAllocLog {
pub records: Vec<ReuseAllocRecord>,
}Expand description
Reuse analysis allocation log
Fields§
§records: Vec<ReuseAllocRecord>Implementations§
Source§impl ReuseAllocLog
impl ReuseAllocLog
pub fn new() -> Self
pub fn record(&mut self, r: ReuseAllocRecord)
pub fn heap_count(&self) -> usize
pub fn stack_count(&self) -> usize
pub fn reuse_count(&self) -> usize
pub fn total_bytes(&self) -> u64
Trait Implementations§
Source§impl Debug for ReuseAllocLog
impl Debug for ReuseAllocLog
Source§impl Default for ReuseAllocLog
impl Default for ReuseAllocLog
Source§fn default() -> ReuseAllocLog
fn default() -> ReuseAllocLog
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReuseAllocLog
impl RefUnwindSafe for ReuseAllocLog
impl Send for ReuseAllocLog
impl Sync for ReuseAllocLog
impl Unpin for ReuseAllocLog
impl UnsafeUnpin for ReuseAllocLog
impl UnwindSafe for ReuseAllocLog
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