CGDisplayIsActive

Function CGDisplayIsActive 

Source
pub extern "C-unwind" fn CGDisplayIsActive(
    display: CGDirectDisplayID,
) -> bool
Available on crate features CGDirectDisplay and CGDisplayConfiguration and libc only.