pub trait NSScreen: Sized {
Show 14 methods
// Required methods
unsafe fn mainScreen(_: Self) -> id;
unsafe fn deepestScreen(_: Self) -> id;
unsafe fn screens(_: Self) -> id;
unsafe fn depth(self) -> NSWindowDepth;
unsafe fn frame(self) -> NSRect;
unsafe fn supportedWindowDepths(self) -> *const NSWindowDepth;
unsafe fn deviceDescription(self) -> id;
unsafe fn visibleFrame(self) -> NSRect;
unsafe fn colorSpace(self) -> id;
unsafe fn screensHaveSeparateSpaces(_: Self) -> BOOL;
unsafe fn backingAlignedRect_options_(
self,
aRect: NSRect,
options: NSAlignmentOptions
) -> NSRect;
unsafe fn backingScaleFactor(self) -> CGFloat;
unsafe fn convertRectFromBacking_(self, aRect: NSRect) -> NSRect;
unsafe fn convertRectToBacking_(self, aRect: NSRect) -> NSRect;
}