Skip to main content

ICoreWebView2Profile_Impl

Trait ICoreWebView2Profile_Impl 

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

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§