CGDisplayCreateImage

Function CGDisplayCreateImage 

Source
pub extern "C-unwind" fn CGDisplayCreateImage(
    display_id: CGDirectDisplayID,
) -> Option<CFRetained<CGImage>>
👎Deprecated: Please use ScreenCaptureKit instead.
Available on crate features CGDirectDisplay and CGImage only.