pub unsafe trait NSObjectWebPlugInContainer:
ClassType
+ Sized
+ Sealed {
// Provided methods
unsafe fn webPlugInContainerLoadRequest_inFrame(
&self,
request: Option<&NSURLRequest>,
target: Option<&NSString>,
) { ... }
unsafe fn webPlugInContainerShowStatus(&self, message: Option<&NSString>) { ... }
unsafe fn webFrame(&self) -> Option<Retained<WebFrame>> { ... }
}
Available on crate feature
WebPluginContainer
only.Expand description
Category “WebPlugInContainer” on NSObject
.
This informal protocol enables a plug-in to request that its containing application
perform certain operations.
Provided Methods§
Sourceunsafe fn webPlugInContainerLoadRequest_inFrame(
&self,
request: Option<&NSURLRequest>,
target: Option<&NSString>,
)
unsafe fn webPlugInContainerLoadRequest_inFrame( &self, request: Option<&NSURLRequest>, target: Option<&NSString>, )
Tell the application to show a URL in a target frame
Parameter request
: The request to be loaded.
Parameter target
: The target frame. If the frame with the specified target is not
found, a new window is opened and the main frame of the new window is named
with the specified target. If nil is specified, the frame that contains
the applet is targeted.
Sourceunsafe fn webPlugInContainerShowStatus(&self, message: Option<&NSString>)
unsafe fn webPlugInContainerShowStatus(&self, message: Option<&NSString>)
Tell the application to show the specified status message.
Parameter message
: The string to be shown.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.