pub unsafe trait NSViewLayerContentScaleDelegate: NSObjectProtocol {
// Provided method
unsafe fn layer_shouldInheritContentsScale_fromWindow(
&self,
layer: &CALayer,
new_scale: CGFloat,
window: &NSWindow
) -> bool
where Self: Sized + Message { ... }
}
Available on crate feature
NSView
only.Provided Methods§
unsafe fn layer_shouldInheritContentsScale_fromWindow( &self, layer: &CALayer, new_scale: CGFloat, window: &NSWindow ) -> bool
Available on crate feature
NSResponder
and crate feature NSWindow
and crate feature objc2-quartz-core
and Apple only.