Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2Settings4 [−][src]
#[repr(transparent)]pub struct ICoreWebView2Settings4(pub IUnknown);
Tuple Fields
0: IUnknown
Implementations
pub unsafe fn SetIsScriptEnabled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
isscriptenabled: Param0
) -> Result<()>
pub unsafe fn SetIsWebMessageEnabled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
iswebmessageenabled: Param0
) -> Result<()>
pub unsafe fn AreDefaultScriptDialogsEnabled(
&self,
aredefaultscriptdialogsenabled: *mut BOOL
) -> Result<()>
pub unsafe fn SetAreDefaultScriptDialogsEnabled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
aredefaultscriptdialogsenabled: Param0
) -> Result<()>
pub unsafe fn SetIsStatusBarEnabled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
isstatusbarenabled: Param0
) -> Result<()>
pub unsafe fn SetAreDevToolsEnabled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
aredevtoolsenabled: Param0
) -> Result<()>
pub unsafe fn SetAreDefaultContextMenusEnabled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
enabled: Param0
) -> Result<()>
pub unsafe fn SetAreHostObjectsAllowed<'a, Param0: IntoParam<'a, BOOL>>(
&self,
allowed: Param0
) -> Result<()>
pub unsafe fn SetIsZoomControlEnabled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
enabled: Param0
) -> Result<()>
pub unsafe fn SetIsBuiltInErrorPageEnabled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
enabled: Param0
) -> Result<()>
pub unsafe fn SetUserAgent<'a, Param0: IntoParam<'a, PWSTR>>(
&self,
useragent: Param0
) -> Result<()>
pub unsafe fn AreBrowserAcceleratorKeysEnabled(
&self,
arebrowseracceleratorkeysenabled: *mut BOOL
) -> Result<()>
pub unsafe fn SetAreBrowserAcceleratorKeysEnabled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
arebrowseracceleratorkeysenabled: Param0
) -> Result<()>
pub unsafe fn SetIsPasswordAutosaveEnabled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
value: Param0
) -> Result<()>
pub unsafe fn SetIsGeneralAutofillEnabled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
value: Param0
) -> Result<()>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2Settings4
impl !Send for ICoreWebView2Settings4
impl !Sync for ICoreWebView2Settings4
impl Unpin for ICoreWebView2Settings4
impl UnwindSafe for ICoreWebView2Settings4
Blanket Implementations
Mutably borrows from an owned value. Read more
type DefaultType = Option<T>
Safety