Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2Settings4
source · [−]#[repr(transparent)]pub struct ICoreWebView2Settings4(_);
Implementations
sourceimpl ICoreWebView2Settings4
impl ICoreWebView2Settings4
pub unsafe fn IsScriptEnabled(&self, isscriptenabled: *mut BOOL) -> Result<()>
pub unsafe fn SetIsScriptEnabled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
isscriptenabled: Param0
) -> Result<()>
pub unsafe fn IsWebMessageEnabled(
&self,
iswebmessageenabled: *mut BOOL
) -> 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 IsStatusBarEnabled(
&self,
isstatusbarenabled: *mut BOOL
) -> Result<()>
pub unsafe fn SetIsStatusBarEnabled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
isstatusbarenabled: Param0
) -> Result<()>
pub unsafe fn AreDevToolsEnabled(
&self,
aredevtoolsenabled: *mut BOOL
) -> Result<()>
pub unsafe fn SetAreDevToolsEnabled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
aredevtoolsenabled: Param0
) -> Result<()>
pub unsafe fn AreDefaultContextMenusEnabled(
&self,
enabled: *mut BOOL
) -> Result<()>
pub unsafe fn SetAreDefaultContextMenusEnabled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
enabled: Param0
) -> Result<()>
pub unsafe fn AreHostObjectsAllowed(&self, allowed: *mut BOOL) -> Result<()>
pub unsafe fn SetAreHostObjectsAllowed<'a, Param0: IntoParam<'a, BOOL>>(
&self,
allowed: Param0
) -> Result<()>
pub unsafe fn IsZoomControlEnabled(&self, enabled: *mut BOOL) -> Result<()>
pub unsafe fn SetIsZoomControlEnabled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
enabled: Param0
) -> Result<()>
pub unsafe fn IsBuiltInErrorPageEnabled(&self, enabled: *mut BOOL) -> Result<()>
pub unsafe fn SetIsBuiltInErrorPageEnabled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
enabled: Param0
) -> Result<()>
pub unsafe fn UserAgent(&self, useragent: *mut PWSTR) -> 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 IsPasswordAutosaveEnabled(&self, value: *mut BOOL) -> Result<()>
pub unsafe fn SetIsPasswordAutosaveEnabled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
value: Param0
) -> Result<()>
pub unsafe fn IsGeneralAutofillEnabled(&self, value: *mut BOOL) -> Result<()>
pub unsafe fn SetIsGeneralAutofillEnabled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
value: Param0
) -> Result<()>
Trait Implementations
sourceimpl Clone for ICoreWebView2Settings4
impl Clone for ICoreWebView2Settings4
sourceimpl Debug for ICoreWebView2Settings4
impl Debug for ICoreWebView2Settings4
sourceimpl From<&'_ ICoreWebView2Settings4> for ICoreWebView2Settings3
impl From<&'_ ICoreWebView2Settings4> for ICoreWebView2Settings3
sourcefn from(value: &ICoreWebView2Settings4) -> Self
fn from(value: &ICoreWebView2Settings4) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2Settings4> for ICoreWebView2Settings2
impl From<&'_ ICoreWebView2Settings4> for ICoreWebView2Settings2
sourcefn from(value: &ICoreWebView2Settings4) -> Self
fn from(value: &ICoreWebView2Settings4) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2Settings4> for ICoreWebView2Settings
impl From<&'_ ICoreWebView2Settings4> for ICoreWebView2Settings
sourcefn from(value: &ICoreWebView2Settings4) -> Self
fn from(value: &ICoreWebView2Settings4) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2Settings4> for IUnknown
impl From<&'_ ICoreWebView2Settings4> for IUnknown
sourcefn from(value: &ICoreWebView2Settings4) -> Self
fn from(value: &ICoreWebView2Settings4) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2Settings5> for ICoreWebView2Settings4
impl From<&'_ ICoreWebView2Settings5> for ICoreWebView2Settings4
sourcefn from(value: &ICoreWebView2Settings5) -> Self
fn from(value: &ICoreWebView2Settings5) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2Settings6> for ICoreWebView2Settings4
impl From<&'_ ICoreWebView2Settings6> for ICoreWebView2Settings4
sourcefn from(value: &ICoreWebView2Settings6) -> Self
fn from(value: &ICoreWebView2Settings6) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Settings4> for ICoreWebView2Settings3
impl From<ICoreWebView2Settings4> for ICoreWebView2Settings3
sourcefn from(value: ICoreWebView2Settings4) -> Self
fn from(value: ICoreWebView2Settings4) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Settings4> for ICoreWebView2Settings2
impl From<ICoreWebView2Settings4> for ICoreWebView2Settings2
sourcefn from(value: ICoreWebView2Settings4) -> Self
fn from(value: ICoreWebView2Settings4) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Settings4> for ICoreWebView2Settings
impl From<ICoreWebView2Settings4> for ICoreWebView2Settings
sourcefn from(value: ICoreWebView2Settings4) -> Self
fn from(value: ICoreWebView2Settings4) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Settings4> for IUnknown
impl From<ICoreWebView2Settings4> for IUnknown
sourcefn from(value: ICoreWebView2Settings4) -> Self
fn from(value: ICoreWebView2Settings4) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Settings5> for ICoreWebView2Settings4
impl From<ICoreWebView2Settings5> for ICoreWebView2Settings4
sourcefn from(value: ICoreWebView2Settings5) -> Self
fn from(value: ICoreWebView2Settings5) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Settings6> for ICoreWebView2Settings4
impl From<ICoreWebView2Settings6> for ICoreWebView2Settings4
sourcefn from(value: ICoreWebView2Settings6) -> Self
fn from(value: ICoreWebView2Settings6) -> Self
Converts to this type from the input type.
sourceimpl Interface for ICoreWebView2Settings4
impl Interface for ICoreWebView2Settings4
impl Eq for ICoreWebView2Settings4
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> DefaultType for T where
T: Interface + Clone + PartialEq<T>,
impl<T> DefaultType for T where
T: Interface + Clone + PartialEq<T>,
type DefaultType = Option<T>
sourceunsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
unsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
Safety
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more