pub struct AllocationReport {
pub name: String,
pub offset: u64,
pub size: u64,
}
Expand description
Describes an allocation in the AllocatorReport
.
Fields§
§name: String
The name provided to the allocate()
function.
offset: u64
The offset in bytes of the allocation in its memory block.
size: u64
The size in bytes of the allocation.
Trait Implementations§
Source§impl Clone for AllocationReport
impl Clone for AllocationReport
Source§fn clone(&self) -> AllocationReport
fn clone(&self) -> AllocationReport
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 moreAuto Trait Implementations§
impl Freeze for AllocationReport
impl RefUnwindSafe for AllocationReport
impl Send for AllocationReport
impl Sync for AllocationReport
impl Unpin for AllocationReport
impl UnwindSafe for AllocationReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)