Function CVDisplayLinkGetCurrentCGDisplay

Source
pub unsafe extern "C-unwind" fn CVDisplayLinkGetCurrentCGDisplay(
    display_link: &CVDisplayLink,
) -> CGDirectDisplayID
👎Deprecated: use NSView.displayLink(target:selector:), NSWindow.displayLink(target:selector:), or NSScreen.displayLink(target:selector:)
Available on crate features CVDisplayLink and objc2-core-graphics only.
Expand description

Gets the current display of a DisplayLink

(description)

Parameter displayLink: target CVDisplayLinkRef

Returns: CGDirectDisplayID