Trait objc2_web_kit::WebDownloadDelegate

source ·
pub unsafe trait WebDownloadDelegate: NSURLDownloadDelegate {
    // Provided method
    unsafe fn downloadWindowForAuthenticationSheet(
        &self,
        download: Option<&WebDownload>,
        mtm: MainThreadMarker
    ) -> Option<Retained<NSWindow>>
       where Self: Sized + Message { ... }
}
👎Deprecated
Available on crate feature WebDownload only.

Provided Methods§

source

unsafe fn downloadWindowForAuthenticationSheet( &self, download: Option<&WebDownload>, mtm: MainThreadMarker ) -> Option<Retained<NSWindow>>
where Self: Sized + Message,

👎Deprecated
Available on crate feature objc2-app-kit and macOS only.

Trait Implementations§

source§

impl ProtocolType for dyn WebDownloadDelegate

source§

const NAME: &'static str = "WebDownloadDelegate"

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 WebDownloadDelegate

Implementations on Foreign Types§

source§

impl<T> WebDownloadDelegate for ProtocolObject<T>

Implementors§