Struct core_foundation::base::CFAllocatorContext [−][src]
#[repr(C)]pub struct CFAllocatorContext {
pub version: isize,
pub info: *mut c_void,
pub retain: Option<extern "C" fn(*mut c_void) -> *mut c_void>,
pub release: Option<extern "C" fn(*mut c_void)>,
pub copyDescription: Option<extern "C" fn(*mut c_void) -> *const __CFString>,
pub allocate: Option<extern "C" fn(isize, usize, *mut c_void) -> *mut c_void>,
pub reallocate: Option<extern "C" fn(*mut c_void, isize, usize, *mut c_void) -> *mut c_void>,
pub deallocate: Option<extern "C" fn(*mut c_void, *mut c_void)>,
pub preferredSize: Option<extern "C" fn(isize, usize, *mut c_void) -> isize>,
}
Fields
version: isize
info: *mut c_void
retain: Option<extern "C" fn(*mut c_void) -> *mut c_void>
release: Option<extern "C" fn(*mut c_void)>
copyDescription: Option<extern "C" fn(*mut c_void) -> *const __CFString>
allocate: Option<extern "C" fn(isize, usize, *mut c_void) -> *mut c_void>
reallocate: Option<extern "C" fn(*mut c_void, isize, usize, *mut c_void) -> *mut c_void>
deallocate: Option<extern "C" fn(*mut c_void, *mut c_void)>
preferredSize: Option<extern "C" fn(isize, usize, *mut c_void) -> isize>
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