#[repr(C)]pub struct CFBinaryHeapCallBacks {
pub version: CFIndex,
pub retain: extern "C" fn(allocator: CFAllocatorRef, ptr: *const c_void) -> *const c_void,
pub release: extern "C" fn(allocator: CFAllocatorRef, ptr: *const c_void),
pub copyDescription: extern "C" fn(ptr: *const c_void) -> CFStringRef,
pub compare: extern "C" fn(ptr1: *const c_void, ptr2: *const c_void, context: *mut c_void) -> CFComparisonResult,
}
Fields§
§version: CFIndex
§retain: extern "C" fn(allocator: CFAllocatorRef, ptr: *const c_void) -> *const c_void
§release: extern "C" fn(allocator: CFAllocatorRef, ptr: *const c_void)
§copyDescription: extern "C" fn(ptr: *const c_void) -> CFStringRef
§compare: extern "C" fn(ptr1: *const c_void, ptr2: *const c_void, context: *mut c_void) -> CFComparisonResult
Trait Implementations§
source§impl Clone for CFBinaryHeapCallBacks
impl Clone for CFBinaryHeapCallBacks
source§fn clone(&self) -> CFBinaryHeapCallBacks
fn clone(&self) -> CFBinaryHeapCallBacks
Returns a copy 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 moresource§impl Debug for CFBinaryHeapCallBacks
impl Debug for CFBinaryHeapCallBacks
impl Copy for CFBinaryHeapCallBacks
Auto Trait Implementations§
impl Freeze for CFBinaryHeapCallBacks
impl RefUnwindSafe for CFBinaryHeapCallBacks
impl Send for CFBinaryHeapCallBacks
impl Sync for CFBinaryHeapCallBacks
impl Unpin for CFBinaryHeapCallBacks
impl UnwindSafe for CFBinaryHeapCallBacks
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)