Docs.rs
  • webview2-com-sys-0.23.0
    • webview2-com-sys 0.23.0
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • wravery
    • Dependencies
      • windows ^0.44.0 normal
      • regex ^1.5.4 build
      • serde ^1.0 build
      • serde_json ^1.0 build
      • thiserror ^1.0.26 build
      • windows-bindgen ^0.44.0 build
      • windows-metadata ^0.44.0 build
    • Versions
    • 0.03% 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
logo

logo

ICoreWebView2Profile_Impl

Required Methods

  • DefaultDownloadFolderPath
  • IsInPrivateModeEnabled
  • PreferredColorScheme
  • ProfileName
  • ProfilePath
  • SetDefaultDownloadFolderPath
  • SetPreferredColorScheme

Implementors

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

?
Change settings

Trait webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2Profile_Impl

source ·
pub trait ICoreWebView2Profile_Impl: Sized {
    // Required methods
    fn ProfileName(&self, value: *mut PWSTR) -> Result<()>;
    fn IsInPrivateModeEnabled(&self, value: *mut BOOL) -> Result<()>;
    fn ProfilePath(&self, value: *mut PWSTR) -> Result<()>;
    fn DefaultDownloadFolderPath(&self, value: *mut PWSTR) -> Result<()>;
    fn SetDefaultDownloadFolderPath(&self, value: &PCWSTR) -> Result<()>;
    fn PreferredColorScheme(
        &self,
        value: *mut COREWEBVIEW2_PREFERRED_COLOR_SCHEME
    ) -> Result<()>;
    fn SetPreferredColorScheme(
        &self,
        value: COREWEBVIEW2_PREFERRED_COLOR_SCHEME
    ) -> Result<()>;
}

Required Methods§

source

fn ProfileName(&self, value: *mut PWSTR) -> Result<()>

source

fn IsInPrivateModeEnabled(&self, value: *mut BOOL) -> Result<()>

source

fn ProfilePath(&self, value: *mut PWSTR) -> Result<()>

source

fn DefaultDownloadFolderPath(&self, value: *mut PWSTR) -> Result<()>

source

fn SetDefaultDownloadFolderPath(&self, value: &PCWSTR) -> Result<()>

source

fn PreferredColorScheme( &self, value: *mut COREWEBVIEW2_PREFERRED_COLOR_SCHEME ) -> Result<()>

source

fn SetPreferredColorScheme( &self, value: COREWEBVIEW2_PREFERRED_COLOR_SCHEME ) -> Result<()>

Implementors§