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]
impl Clone for CFAllocatorContext
fn clone(&self) -> CFAllocatorContext
[src]
fn clone(&self) -> CFAllocatorContext
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for CFAllocatorContext
[src]
impl Copy for CFAllocatorContext
Auto Trait Implementations
impl !Send for CFAllocatorContext
impl !Send for CFAllocatorContext
impl !Sync for CFAllocatorContext
impl !Sync for CFAllocatorContext