pub struct AllocationReport {
pub name: String,
pub offset: u64,
pub size: u64,
}Expand description
Describes an allocation in the AllocatorReport.
Fields§
§name: StringThe name provided to the allocate() function.
offset: u64The offset in bytes of the allocation in its memory block.
size: u64The size in bytes of the allocation.
Trait Implementations§
Source§impl Clone for AllocationReport
impl Clone for AllocationReport
Auto Trait Implementations§
impl Forget for AllocationReport
impl Freeze for AllocationReport
impl Move for AllocationReport
impl RefUnwindSafe for AllocationReport
impl Send for AllocationReportwhere
RawVecInner: Send,
impl Sync for AllocationReportwhere
RawVecInner: Sync,
impl Unpin for AllocationReport
impl UnsafeUnpin for AllocationReport
impl UnwindSafe for AllocationReportwhere
RawVecInner: UnwindSafe,
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more