#[repr(C)]pub struct AllocationCallbacks {
pub pUserData: *mut c_void,
pub pfnAllocation: PFN_vkAllocationFunction,
pub pfnReallocation: PFN_vkReallocationFunction,
pub pfnFree: PFN_vkFreeFunction,
pub pfnInternalAllocation: PFN_vkInternalAllocationNotification,
pub pfnInternalFree: PFN_vkInternalFreeNotification,
}
Fields§
§pUserData: *mut c_void
§pfnAllocation: PFN_vkAllocationFunction
§pfnReallocation: PFN_vkReallocationFunction
§pfnFree: PFN_vkFreeFunction
§pfnInternalAllocation: PFN_vkInternalAllocationNotification
§pfnInternalFree: PFN_vkInternalFreeNotification
Auto Trait Implementations§
impl Freeze for AllocationCallbacks
impl RefUnwindSafe for AllocationCallbacks
impl !Send for AllocationCallbacks
impl !Sync for AllocationCallbacks
impl Unpin for AllocationCallbacks
impl UnwindSafe for AllocationCallbacks
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