pub struct HeapAllocation {
pub variable: String,
pub state: AllocationState,
pub allocation_line: usize,
pub free_line: Option<usize>,
}Expand description
Track heap allocations
Fields§
§variable: String§state: AllocationState§allocation_line: usize§free_line: Option<usize>Trait Implementations§
Source§impl Clone for HeapAllocation
impl Clone for HeapAllocation
Source§fn clone(&self) -> HeapAllocation
fn clone(&self) -> HeapAllocation
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 moreAuto Trait Implementations§
impl Freeze for HeapAllocation
impl RefUnwindSafe for HeapAllocation
impl Send for HeapAllocation
impl Sync for HeapAllocation
impl Unpin for HeapAllocation
impl UnwindSafe for HeapAllocation
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