pub unsafe trait NSViewLayerContentScaleDelegate: NSObjectProtocol {
// Provided method
fn layer_shouldInheritContentsScale_fromWindow(
&self,
layer: &CALayer,
new_scale: CGFloat,
window: &NSWindow,
) -> bool
where Self: Sized + Message { ... }
}Available on crate feature
NSView only.Expand description
Provided Methods§
fn layer_shouldInheritContentsScale_fromWindow( &self, layer: &CALayer, new_scale: CGFloat, window: &NSWindow, ) -> bool
Available on Apple and crate feature
NSResponder and crate feature NSWindow and crate feature objc2-core-foundation and crate feature objc2-quartz-core only.Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSViewLayerContentScaleDelegate
Source§impl ProtocolType for dyn NSViewLayerContentScaleDelegate
impl ProtocolType for dyn NSViewLayerContentScaleDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".