Struct vma::VirtualAllocationInfo
source · pub struct VirtualAllocationInfo {
pub offset: DeviceSize,
pub size: DeviceSize,
pub user_data: usize,
}
Expand description
Parameters of VirtualAllocation
objects, that can be retrieved using VirtualBlock::get_allocation_info
.
Fields§
§offset: DeviceSize
Offset of the allocation.
Offset at which the allocation was made.
size: DeviceSize
Size of the allocation.
Same value as passed in VirtualAllocationCreateInfo::size.
user_data: usize
Custom pointer associated with the allocation
It can change after call to vmaSetAllocationUserData() for this allocation.
Trait Implementations§
source§impl Clone for VirtualAllocationInfo
impl Clone for VirtualAllocationInfo
source§fn clone(&self) -> VirtualAllocationInfo
fn clone(&self) -> VirtualAllocationInfo
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 VirtualAllocationInfo
impl Debug for VirtualAllocationInfo
impl Copy for VirtualAllocationInfo
Auto Trait Implementations§
impl RefUnwindSafe for VirtualAllocationInfo
impl Send for VirtualAllocationInfo
impl Sync for VirtualAllocationInfo
impl Unpin for VirtualAllocationInfo
impl UnwindSafe for VirtualAllocationInfo
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