Skip to main content

WKUIDelegate

Trait WKUIDelegate 

Source
pub unsafe trait WKUIDelegate: NSObjectProtocol + MainThreadOnly { }
Available on crate feature WKUIDelegate only.
Expand description

A class conforming to the WKUIDelegate protocol provides methods for presenting native UI on behalf of a webpage.

See also Apple’s documentation

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn WKUIDelegate
where T: ?Sized + Message + WKUIDelegate,

Source§

impl ProtocolType for dyn WKUIDelegate

Source§

const NAME: &'static str = "WKUIDelegate"

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> WKUIDelegate for ProtocolObject<T>
where T: ?Sized + WKUIDelegate,

Implementors§