#[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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.