Struct vk_mem_alloc::ffi::VmaVirtualAllocationInfo
source · [−]#[repr(C)]pub struct VmaVirtualAllocationInfo {
pub offset: DeviceSize,
pub size: DeviceSize,
pub pUserData: *mut c_void,
}
Expand description
Parameters of an existing virtual allocation, returned by vmaGetVirtualAllocationInfo().
Fields
offset: DeviceSize
\brief Offset of the allocation.
Offset at which the allocation was made.
size: DeviceSize
\brief Size of the allocation.
Same value as passed in VmaVirtualAllocationCreateInfo::size.
pUserData: *mut c_void
\brief Custom pointer associated with the allocation.
Same value as passed in VmaVirtualAllocationCreateInfo::pUserData or to vmaSetVirtualAllocationUserData().
Auto Trait Implementations
impl RefUnwindSafe for VmaVirtualAllocationInfo
impl !Send for VmaVirtualAllocationInfo
impl !Sync for VmaVirtualAllocationInfo
impl Unpin for VmaVirtualAllocationInfo
impl UnwindSafe for VmaVirtualAllocationInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more