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

Trait ICoreWebView2_3_Impl

Source
pub trait ICoreWebView2_3_Impl: ICoreWebView2_2_Impl {
    // Required methods
    fn TrySuspend(
        &self,
        handler: Ref<'_, ICoreWebView2TrySuspendCompletedHandler>,
    ) -> Result<(), Error>;
    fn Resume(&self) -> Result<(), Error>;
    fn IsSuspended(&self, issuspended: *mut BOOL) -> Result<(), Error>;
    fn SetVirtualHostNameToFolderMapping(
        &self,
        hostname: &PCWSTR,
        folderpath: &PCWSTR,
        accesskind: COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND,
    ) -> Result<(), Error>;
    fn ClearVirtualHostNameToFolderMapping(
        &self,
        hostname: &PCWSTR,
    ) -> Result<(), Error>;
}

Required Methods§

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§