Docs.rs
  • webview2-com-0.30.0
    • webview2-com 0.30.0
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • wravery
    • Dependencies
      • webview2-com-macros ^0.7.0 normal
      • webview2-com-sys ^0.30.0 normal
      • windows ^0.56 normal
      • windows-core ^0.56 normal
      • windows-implement ^0.56 normal
      • windows-interface ^0.56 normal
      • regex ^1.5.4 dev
      • serde ^1.0 dev
      • serde_json ^1.0 dev
      • windows ^0.56 dev
    • Versions
    • 12.5% 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
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

webview2_com0.30.0

ICoreWebView2Profile4_Impl

Required Methods

  • GetNonDefaultPermissionSettings
  • SetPermissionState

Object Safety

Implementors

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

?
Settings

Trait webview2_com::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<(), Error>;
    fn GetNonDefaultPermissionSettings(
        &self,
        completedhandler: Option<&ICoreWebView2GetNonDefaultPermissionSettingsCompletedHandler>
    ) -> Result<(), Error>;
}

Required Methods§

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§