#[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: FnInternalFreeNotificationTrait Implementations§
Source§impl Clone for AllocationCallbacks
impl Clone for AllocationCallbacks
Source§fn clone(&self) -> AllocationCallbacks
fn clone(&self) -> AllocationCallbacks
Returns a duplicate 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 moreimpl Copy for AllocationCallbacks
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