#[repr(C)]pub struct CFRunLoopSourceContext1 {
pub version: CFIndex,
pub info: *mut c_void,
pub retain: Option<extern "C" fn(info: *const c_void) -> *const c_void>,
pub release: Option<extern "C" fn(info: *const c_void)>,
pub copyDescription: Option<extern "C" fn(info: *const c_void) -> CFStringRef>,
pub equal: Option<extern "C" fn(info1: *const c_void, info2: *const c_void) -> Boolean>,
pub hash: Option<extern "C" fn(info: *const c_void) -> CFHashCode>,
pub getPort: extern "C" fn(info: *mut c_void) -> mach_port_t,
pub perform: extern "C" fn(msg: *mut c_void, size: CFIndex, allocator: CFAllocatorRef, info: *mut c_void) -> *mut c_void,
}
Fields§
§version: CFIndex
§info: *mut c_void
§retain: Option<extern "C" fn(info: *const c_void) -> *const c_void>
§release: Option<extern "C" fn(info: *const c_void)>
§copyDescription: Option<extern "C" fn(info: *const c_void) -> CFStringRef>
§equal: Option<extern "C" fn(info1: *const c_void, info2: *const c_void) -> Boolean>
§hash: Option<extern "C" fn(info: *const c_void) -> CFHashCode>
§getPort: extern "C" fn(info: *mut c_void) -> mach_port_t
§perform: extern "C" fn(msg: *mut c_void, size: CFIndex, allocator: CFAllocatorRef, info: *mut c_void) -> *mut c_void
Auto Trait Implementations§
impl RefUnwindSafe for CFRunLoopSourceContext1
impl !Send for CFRunLoopSourceContext1
impl !Sync for CFRunLoopSourceContext1
impl Unpin for CFRunLoopSourceContext1
impl UnwindSafe for CFRunLoopSourceContext1
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