Skip to main content

CGEventCreateCopy

Function CGEventCreateCopy 

Source
pub extern "C-unwind" fn CGEventCreateCopy(
    event: Option<&CGEvent>,
) -> Option<CFRetained<CGEvent>>
👎Deprecated:

renamed to CGEvent::new_copy

Available on crate features CGEvent and CGEventTypes only.