Struct vulkan_bindings::AllocationCallbacks
source · #[repr(C)]pub struct AllocationCallbacks {
pub pUserData: *mut c_void,
pub pfnAllocation: FnAllocationFunction,
pub pfnReallocation: FnReallocationFunction,
pub pfnFree: FnFreeFunction,
pub pfnInternalAllocation: FnInternalAllocationNotification,
pub pfnInternalFree: FnInternalFreeNotification,
}
Fields§
§pUserData: *mut c_void
§pfnAllocation: FnAllocationFunction
§pfnReallocation: FnReallocationFunction
§pfnFree: FnFreeFunction
§pfnInternalAllocation: FnInternalAllocationNotification
§pfnInternalFree: FnInternalFreeNotification
Trait Implementations§
source§impl Clone for AllocationCallbacks
impl Clone for AllocationCallbacks
source§fn clone(&self) -> AllocationCallbacks
fn clone(&self) -> AllocationCallbacks
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 more