Docs.rs
  • webview2-com-sys-0.31.0
    • webview2-com-sys 0.31.0
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • wravery
    • Dependencies
      • windows ^0.57 normal
      • windows-core ^0.57 normal
      • thiserror ^1.0.26 build
    • Versions
    • 0.02% of the crate is documented
  • Go to latest version
  • Platform
    • aarch64-pc-windows-msvc
    • i686-pc-windows-gnu
    • i686-pc-windows-msvc
    • x86_64-pc-windows-gnu
    • x86_64-pc-windows-msvc
  • Feature flags
  • Rust
    • About docs.rs
    • Privacy policy
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

webview2_com_sys0.31.0

ICoreWebView2Profile4_Impl

Required Methods

  • GetNonDefaultPermissionSettings
  • SetPermissionState

Object Safety

Implementors

In webview2_com_sys::Microsoft::Web::WebView2::Win32

Trait webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2Profile4_Impl

source ·
pub trait ICoreWebView2Profile4_Impl: Sized + ICoreWebView2Profile3_Impl {
    // Required methods
    fn SetPermissionState(
        &self,
        permissionkind: COREWEBVIEW2_PERMISSION_KIND,
        origin: &PCWSTR,
        state: COREWEBVIEW2_PERMISSION_STATE,
        completedhandler: Option<&ICoreWebView2SetPermissionStateCompletedHandler>,
    ) -> Result<()>;
    fn GetNonDefaultPermissionSettings(
        &self,
        completedhandler: Option<&ICoreWebView2GetNonDefaultPermissionSettingsCompletedHandler>,
    ) -> Result<()>;
}

Required Methods§

source

fn SetPermissionState( &self, permissionkind: COREWEBVIEW2_PERMISSION_KIND, origin: &PCWSTR, state: COREWEBVIEW2_PERMISSION_STATE, completedhandler: Option<&ICoreWebView2SetPermissionStateCompletedHandler>, ) -> Result<()>

source

fn GetNonDefaultPermissionSettings( &self, completedhandler: Option<&ICoreWebView2GetNonDefaultPermissionSettingsCompletedHandler>, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§