Struct gpu_allocator::AllocationReport
source · pub struct AllocationReport {
pub name: String,
pub offset: u64,
pub size: u64,
/* private fields */
}
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)