#[repr(C)]pub struct RuntimeAllocationEvent {
pub duration: TimeSpan,
pub layout: Layout,
pub addr: u64,
pub is_free: bool,
}
Expand description
Runtime allocation information.
Fields§
§duration: TimeSpan
§layout: Layout
§addr: u64
§is_free: bool
Trait Implementations§
Source§impl Clone for RuntimeAllocationEvent
impl Clone for RuntimeAllocationEvent
Source§fn clone(&self) -> RuntimeAllocationEvent
fn clone(&self) -> RuntimeAllocationEvent
Returns a copy 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 RuntimeAllocationEvent
impl Debug for RuntimeAllocationEvent
impl Copy for RuntimeAllocationEvent
Auto Trait Implementations§
impl Freeze for RuntimeAllocationEvent
impl ObjSafe for RuntimeAllocationEvent
impl RefUnwindSafe for RuntimeAllocationEvent
impl Send for RuntimeAllocationEvent
impl Sync for RuntimeAllocationEvent
impl Unpin for RuntimeAllocationEvent
impl UnwindSafe for RuntimeAllocationEvent
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