Skip to main content

ICoreWebView2_3_Impl

Trait ICoreWebView2_3_Impl 

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

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§