pub struct AllocationEvent {
pub timestamp: Instant,
pub size: usize,
pub address: usize,
pub allocation_type: AllocationType,
pub tag: Option<String>,
}
Expand description
Memory allocation event
Fields§
§timestamp: Instant
§size: usize
§address: usize
§allocation_type: AllocationType
§tag: Option<String>
Trait Implementations§
Source§impl Clone for AllocationEvent
impl Clone for AllocationEvent
Source§fn clone(&self) -> AllocationEvent
fn clone(&self) -> AllocationEvent
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 AllocationEvent
impl RefUnwindSafe for AllocationEvent
impl Send for AllocationEvent
impl Sync for AllocationEvent
impl Unpin for AllocationEvent
impl UnwindSafe for AllocationEvent
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