Struct core_foundation_sys::base::CFAllocatorContext
[−]
[src]
#[repr(C)]pub struct CFAllocatorContext { pub version: CFIndex, pub info: *mut c_void, pub retain: CFAllocatorRetainCallBack, pub release: CFAllocatorReleaseCallBack, pub copyDescription: CFAllocatorCopyDescriptionCallBack, pub allocate: CFAllocatorAllocateCallBack, pub reallocate: CFAllocatorReallocateCallBack, pub deallocate: CFAllocatorDeallocateCallBack, pub preferredSize: CFAllocatorPreferredSizeCallBack, }
Fields
version: CFIndex
info: *mut c_void
retain: CFAllocatorRetainCallBack
release: CFAllocatorReleaseCallBack
copyDescription: CFAllocatorCopyDescriptionCallBack
allocate: CFAllocatorAllocateCallBack
reallocate: CFAllocatorReallocateCallBack
deallocate: CFAllocatorDeallocateCallBack
preferredSize: CFAllocatorPreferredSizeCallBack
Trait Implementations
impl Clone for CFAllocatorContext
[src]
fn clone(&self) -> CFAllocatorContext
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more