pub trait ICoreWebView2Profile_Impl: IUnknownImpl {
// 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§
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<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.