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§

source

unsafe fn layer_shouldInheritContentsScale_fromWindow( &self, layer: &CALayer, new_scale: CGFloat, window: &NSWindow ) -> bool
where Self: Sized + Message,

Available on crate feature NSResponder and crate feature NSWindow and crate feature objc2-quartz-core and Apple only.

Trait Implementations§

source§

impl ProtocolType for dyn NSViewLayerContentScaleDelegate

source§

const NAME: &'static str = "NSViewLayerContentScaleDelegate"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn NSViewLayerContentScaleDelegate

Implementations on Foreign Types§

source§

impl<T> NSViewLayerContentScaleDelegate for ProtocolObject<T>

Implementors§