Struct core_foundation::set::CFSetCallBacks
source · #[repr(C)]pub struct CFSetCallBacks {
pub version: isize,
pub retain: extern "C" fn(_: *const c_void, _: *const c_void) -> *const c_void,
pub release: extern "C" fn(_: *const c_void, _: *const c_void),
pub copyDescription: extern "C" fn(_: *const c_void) -> *const __CFString,
pub equal: extern "C" fn(_: *const c_void, _: *const c_void) -> u8,
pub hash: extern "C" fn(_: *const c_void) -> usize,
}
Fields§
§version: isize
§retain: extern "C" fn(_: *const c_void, _: *const c_void) -> *const c_void
§release: extern "C" fn(_: *const c_void, _: *const c_void)
§copyDescription: extern "C" fn(_: *const c_void) -> *const __CFString
§equal: extern "C" fn(_: *const c_void, _: *const c_void) -> u8
§hash: extern "C" fn(_: *const c_void) -> usize
Trait Implementations§
source§impl Clone for CFSetCallBacks
impl Clone for CFSetCallBacks
source§fn clone(&self) -> CFSetCallBacks
fn clone(&self) -> CFSetCallBacks
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 moreimpl Copy for CFSetCallBacks
Auto Trait Implementations§
impl RefUnwindSafe for CFSetCallBacks
impl Send for CFSetCallBacks
impl Sync for CFSetCallBacks
impl Unpin for CFSetCallBacks
impl UnwindSafe for CFSetCallBacks
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