[−][src]Trait cocoa::appkit::NSView
Required methods
unsafe fn init(self) -> id
unsafe fn initWithFrame_(self, frameRect: NSRect) -> id
unsafe fn bounds(self) -> NSRect
unsafe fn frame(self) -> NSRect
unsafe fn setFrameSize(self, frameSize: NSSize)
unsafe fn setFrameOrigin(self, frameOrigin: NSPoint)
unsafe fn display_(self)
unsafe fn setWantsBestResolutionOpenGLSurface_(self, flag: BOOL)
unsafe fn convertPoint_fromView_(self, point: NSPoint, view: id) -> NSPoint
unsafe fn addSubview_(self, view: id)
unsafe fn superview(self) -> id
unsafe fn removeFromSuperview(self)
unsafe fn setAutoresizingMask_(
self,
autoresizingMask: NSAutoresizingMaskOptions
)
self,
autoresizingMask: NSAutoresizingMaskOptions
)
unsafe fn wantsLayer(self) -> BOOL
unsafe fn setWantsLayer(self, wantsLayer: BOOL)
unsafe fn layer(self) -> id
unsafe fn setLayer(self, layer: id)
unsafe fn widthAnchor(self) -> id
unsafe fn heightAnchor(self) -> id
unsafe fn convertRectToBacking(self, rect: NSRect) -> NSRect
Provided methods
Loading content...Implementors
impl NSView for id
[src]
unsafe fn init(self) -> id
[src]
unsafe fn initWithFrame_(self, frameRect: NSRect) -> id
[src]
unsafe fn bounds(self) -> NSRect
[src]
unsafe fn frame(self) -> NSRect
[src]
unsafe fn setFrameSize(self, frameSize: NSSize)
[src]
unsafe fn setFrameOrigin(self, frameOrigin: NSPoint)
[src]
unsafe fn display_(self)
[src]
unsafe fn setWantsBestResolutionOpenGLSurface_(self, flag: BOOL)
[src]
unsafe fn convertPoint_fromView_(self, point: NSPoint, view: id) -> NSPoint
[src]
unsafe fn addSubview_(self, view: id)
[src]
unsafe fn superview(self) -> id
[src]
unsafe fn removeFromSuperview(self)
[src]
unsafe fn setAutoresizingMask_(
self,
autoresizingMask: NSAutoresizingMaskOptions
)
[src]
self,
autoresizingMask: NSAutoresizingMaskOptions
)