pub unsafe trait UIWebViewDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn webView_shouldStartLoadWithRequest_navigationType(
&self,
web_view: &UIWebView,
request: &NSURLRequest,
navigation_type: UIWebViewNavigationType,
) -> bool
where Self: Sized + Message { ... }
fn webViewDidStartLoad(&self, web_view: &UIWebView)
where Self: Sized + Message { ... }
fn webViewDidFinishLoad(&self, web_view: &UIWebView)
where Self: Sized + Message { ... }
fn webView_didFailLoadWithError(
&self,
web_view: &UIWebView,
error: &NSError,
)
where Self: Sized + Message { ... }
}Available on crate feature
UIWebView only.Expand description
Provided Methods§
👎Deprecated:
No longer supported.
Available on crate features
UIResponder and UIView only.fn webViewDidStartLoad(&self, web_view: &UIWebView)
👎Deprecated:
No longer supported.
Available on crate features
UIResponder and UIView only.fn webViewDidFinishLoad(&self, web_view: &UIWebView)
👎Deprecated:
No longer supported.
Available on crate features
UIResponder and UIView only.fn webView_didFailLoadWithError(&self, web_view: &UIWebView, error: &NSError)
👎Deprecated:
No longer supported.
Available on crate features
UIResponder and UIView only.Trait Implementations§
Source§impl ProtocolType for dyn UIWebViewDelegate
impl ProtocolType for dyn UIWebViewDelegate
impl<T> ImplementedBy<T> for dyn UIWebViewDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".