webview2_com::Microsoft::Web::WebView2::Win32

Trait ICoreWebView2_4_Impl

Source
pub trait ICoreWebView2_4_Impl: ICoreWebView2_3_Impl {
    // Required methods
    fn add_FrameCreated(
        &self,
        eventhandler: Ref<'_, ICoreWebView2FrameCreatedEventHandler>,
        token: *mut EventRegistrationToken,
    ) -> Result<(), Error>;
    fn remove_FrameCreated(
        &self,
        token: &EventRegistrationToken,
    ) -> Result<(), Error>;
    fn add_DownloadStarting(
        &self,
        eventhandler: Ref<'_, ICoreWebView2DownloadStartingEventHandler>,
        token: *mut EventRegistrationToken,
    ) -> Result<(), Error>;
    fn remove_DownloadStarting(
        &self,
        token: &EventRegistrationToken,
    ) -> Result<(), Error>;
}

Required Methods§

Source

fn add_FrameCreated( &self, eventhandler: Ref<'_, ICoreWebView2FrameCreatedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<(), Error>

Source

fn remove_FrameCreated( &self, token: &EventRegistrationToken, ) -> Result<(), Error>

Source

fn add_DownloadStarting( &self, eventhandler: Ref<'_, ICoreWebView2DownloadStartingEventHandler>, token: *mut EventRegistrationToken, ) -> Result<(), Error>

Source

fn remove_DownloadStarting( &self, token: &EventRegistrationToken, ) -> Result<(), Error>

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.

Implementors§