core-graphics2 0.5.2

Safe bindings to CoreGraphics framework, including display stream
Documentation
1
2
3
4
5
use metal::MTLDevice;

extern "C" {
    pub fn CGDirectDisplayCopyCurrentMetalDevice(display: u32) -> *mut MTLDevice;
}