Skip to main content

ICoreWebView2Settings_Impl

Trait ICoreWebView2Settings_Impl 

Source
pub trait ICoreWebView2Settings_Impl: IUnknownImpl {
Show 18 methods // Required methods fn IsScriptEnabled(&self) -> Result<BOOL>; fn SetIsScriptEnabled(&self, isscriptenabled: BOOL) -> Result<()>; fn IsWebMessageEnabled(&self) -> Result<BOOL>; fn SetIsWebMessageEnabled(&self, iswebmessageenabled: BOOL) -> Result<()>; fn AreDefaultScriptDialogsEnabled(&self) -> Result<BOOL>; fn SetAreDefaultScriptDialogsEnabled( &self, aredefaultscriptdialogsenabled: BOOL, ) -> Result<()>; fn IsStatusBarEnabled(&self) -> Result<BOOL>; fn SetIsStatusBarEnabled(&self, isstatusbarenabled: BOOL) -> Result<()>; fn AreDevToolsEnabled(&self) -> Result<BOOL>; fn SetAreDevToolsEnabled(&self, aredevtoolsenabled: BOOL) -> Result<()>; fn AreDefaultContextMenusEnabled(&self) -> Result<BOOL>; fn SetAreDefaultContextMenusEnabled(&self, enabled: BOOL) -> Result<()>; fn AreHostObjectsAllowed(&self) -> Result<BOOL>; fn SetAreHostObjectsAllowed(&self, allowed: BOOL) -> Result<()>; fn IsZoomControlEnabled(&self) -> Result<BOOL>; fn SetIsZoomControlEnabled(&self, enabled: BOOL) -> Result<()>; fn IsBuiltInErrorPageEnabled(&self) -> Result<BOOL>; fn SetIsBuiltInErrorPageEnabled(&self, enabled: BOOL) -> Result<()>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§