pub type AXObserverCallbackWithInfo = Option<unsafe extern "C-unwind" fn(NonNull<AXObserver>, NonNull<AXUIElement>, NonNull<CFString>, NonNull<CFDictionary>, *mut c_void)>;Available on crate feature
AXUIElement only.Expand description
Parameter observer: An AXObserverRef object to observe the notifications.
Parameter element: The accessibility object.
Parameter notification: The name of the notification to observe.
Parameter info: The coresponding notification information.
Parameter refcon: Application-defined data specified when registering the observer for notification
See also Apple’s documentation
Aliased Type§
pub enum AXObserverCallbackWithInfo {
None,
Some(unsafe extern "C-unwind" fn(NonNull<AXObserver>, NonNull<AXUIElement>, NonNull<CFString>, NonNull<CFDictionary>, *mut c_void)),
}Variants§
None
No value.
Some(unsafe extern "C-unwind" fn(NonNull<AXObserver>, NonNull<AXUIElement>, NonNull<CFString>, NonNull<CFDictionary>, *mut c_void))
Some value of type T.