Struct core_foundation_sys::base::CFAllocatorContext [−][src]
#[repr(C)]pub struct CFAllocatorContext {
pub version: CFIndex,
pub info: *mut c_void,
pub retain: Option<CFAllocatorRetainCallBack>,
pub release: Option<CFAllocatorReleaseCallBack>,
pub copyDescription: Option<CFAllocatorCopyDescriptionCallBack>,
pub allocate: Option<CFAllocatorAllocateCallBack>,
pub reallocate: Option<CFAllocatorReallocateCallBack>,
pub deallocate: Option<CFAllocatorDeallocateCallBack>,
pub preferredSize: Option<CFAllocatorPreferredSizeCallBack>,
}
Fields
version: CFIndex
info: *mut c_void
retain: Option<CFAllocatorRetainCallBack>
release: Option<CFAllocatorReleaseCallBack>
copyDescription: Option<CFAllocatorCopyDescriptionCallBack>
allocate: Option<CFAllocatorAllocateCallBack>
reallocate: Option<CFAllocatorReallocateCallBack>
deallocate: Option<CFAllocatorDeallocateCallBack>
preferredSize: Option<CFAllocatorPreferredSizeCallBack>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CFAllocatorContext
impl !Send for CFAllocatorContext
impl !Sync for CFAllocatorContext
impl Unpin for CFAllocatorContext
impl UnwindSafe for CFAllocatorContext
Blanket Implementations
Mutably borrows from an owned value. Read more