pub type CFNotificationCallback = Option<unsafe extern "C" fn(center: CFNotificationCenterRef, observer: *mut c_void, name: CFNotificationName, object: *const c_void, userInfo: CFDictionaryRef)>;Aliased Type§
pub enum CFNotificationCallback {
None,
Some(unsafe extern "C" fn(*mut __CFNotificationCenter, *mut c_void, *const __CFString, *const c_void, *const __CFDictionary)),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*mut __CFNotificationCenter, *mut c_void, *const __CFString, *const c_void, *const __CFDictionary))
Some value of type T.