Skip to main content

WebPlugInViewFactory

Trait WebPlugInViewFactory 

Source
pub unsafe trait WebPlugInViewFactory: NSObjectProtocol { }
👎Deprecated
Available on crate feature WebPluginViewFactory only.
Expand description

WebPlugInViewFactory are used to create the NSView for a plug-in. The principal class of the plug-in bundle must implement this protocol.

See also Apple’s documentation

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn WebPlugInViewFactory

Source§

impl ProtocolType for dyn WebPlugInViewFactory

Source§

const NAME: &'static str = "WebPlugInViewFactory"

The name of the Objective-C protocol that this type represents. Read more
Source§

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

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> WebPlugInViewFactory for ProtocolObject<T>

Implementors§