Trait webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2Profile_Impl
source · pub trait ICoreWebView2Profile_Impl: Sized {
// Required methods
fn ProfileName(&self, value: *mut PWSTR) -> Result<(), Error>;
fn IsInPrivateModeEnabled(&self, value: *mut BOOL) -> Result<(), Error>;
fn ProfilePath(&self, value: *mut PWSTR) -> Result<(), Error>;
fn DefaultDownloadFolderPath(&self, value: *mut PWSTR) -> Result<(), Error>;
fn SetDefaultDownloadFolderPath(&self, value: &PCWSTR) -> Result<(), Error>;
fn PreferredColorScheme(
&self,
value: *mut COREWEBVIEW2_PREFERRED_COLOR_SCHEME,
) -> Result<(), Error>;
fn SetPreferredColorScheme(
&self,
value: COREWEBVIEW2_PREFERRED_COLOR_SCHEME,
) -> Result<(), Error>;
}
Required Methods§
fn ProfileName(&self, value: *mut PWSTR) -> Result<(), Error>
fn IsInPrivateModeEnabled(&self, value: *mut BOOL) -> Result<(), Error>
fn ProfilePath(&self, value: *mut PWSTR) -> Result<(), Error>
fn DefaultDownloadFolderPath(&self, value: *mut PWSTR) -> Result<(), Error>
fn SetDefaultDownloadFolderPath(&self, value: &PCWSTR) -> Result<(), Error>
fn PreferredColorScheme( &self, value: *mut COREWEBVIEW2_PREFERRED_COLOR_SCHEME, ) -> Result<(), Error>
fn SetPreferredColorScheme( &self, value: COREWEBVIEW2_PREFERRED_COLOR_SCHEME, ) -> Result<(), Error>
Object Safety§
This trait is not object safe.