Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2Settings2
source · [−]#[repr(transparent)]pub struct ICoreWebView2Settings2(_);
Implementations
sourceimpl ICoreWebView2Settings2
impl ICoreWebView2Settings2
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<()>
Trait Implementations
sourceimpl Clone for ICoreWebView2Settings2
impl Clone for ICoreWebView2Settings2
sourceimpl Debug for ICoreWebView2Settings2
impl Debug for ICoreWebView2Settings2
sourceimpl From<&'_ ICoreWebView2Settings2> for ICoreWebView2Settings
impl From<&'_ ICoreWebView2Settings2> for ICoreWebView2Settings
sourcefn from(value: &ICoreWebView2Settings2) -> Self
fn from(value: &ICoreWebView2Settings2) -> Self
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Settings2> for IUnknown
impl From<&'_ ICoreWebView2Settings2> for IUnknown
sourcefn from(value: &ICoreWebView2Settings2) -> Self
fn from(value: &ICoreWebView2Settings2) -> Self
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Settings3> for ICoreWebView2Settings2
impl From<&'_ ICoreWebView2Settings3> for ICoreWebView2Settings2
sourcefn from(value: &ICoreWebView2Settings3) -> Self
fn from(value: &ICoreWebView2Settings3) -> Self
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Settings4> for ICoreWebView2Settings2
impl From<&'_ ICoreWebView2Settings4> for ICoreWebView2Settings2
sourcefn from(value: &ICoreWebView2Settings4) -> Self
fn from(value: &ICoreWebView2Settings4) -> Self
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Settings5> for ICoreWebView2Settings2
impl From<&'_ ICoreWebView2Settings5> for ICoreWebView2Settings2
sourcefn from(value: &ICoreWebView2Settings5) -> Self
fn from(value: &ICoreWebView2Settings5) -> Self
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Settings6> for ICoreWebView2Settings2
impl From<&'_ ICoreWebView2Settings6> for ICoreWebView2Settings2
sourcefn from(value: &ICoreWebView2Settings6) -> Self
fn from(value: &ICoreWebView2Settings6) -> Self
Performs the conversion.
sourceimpl From<ICoreWebView2Settings2> for ICoreWebView2Settings
impl From<ICoreWebView2Settings2> for ICoreWebView2Settings
sourcefn from(value: ICoreWebView2Settings2) -> Self
fn from(value: ICoreWebView2Settings2) -> Self
Performs the conversion.
sourceimpl From<ICoreWebView2Settings2> for IUnknown
impl From<ICoreWebView2Settings2> for IUnknown
sourcefn from(value: ICoreWebView2Settings2) -> Self
fn from(value: ICoreWebView2Settings2) -> Self
Performs the conversion.
sourceimpl From<ICoreWebView2Settings3> for ICoreWebView2Settings2
impl From<ICoreWebView2Settings3> for ICoreWebView2Settings2
sourcefn from(value: ICoreWebView2Settings3) -> Self
fn from(value: ICoreWebView2Settings3) -> Self
Performs the conversion.
sourceimpl From<ICoreWebView2Settings4> for ICoreWebView2Settings2
impl From<ICoreWebView2Settings4> for ICoreWebView2Settings2
sourcefn from(value: ICoreWebView2Settings4) -> Self
fn from(value: ICoreWebView2Settings4) -> Self
Performs the conversion.
sourceimpl From<ICoreWebView2Settings5> for ICoreWebView2Settings2
impl From<ICoreWebView2Settings5> for ICoreWebView2Settings2
sourcefn from(value: ICoreWebView2Settings5) -> Self
fn from(value: ICoreWebView2Settings5) -> Self
Performs the conversion.
sourceimpl From<ICoreWebView2Settings6> for ICoreWebView2Settings2
impl From<ICoreWebView2Settings6> for ICoreWebView2Settings2
sourcefn from(value: ICoreWebView2Settings6) -> Self
fn from(value: ICoreWebView2Settings6) -> Self
Performs the conversion.
sourceimpl Interface for ICoreWebView2Settings2
impl Interface for ICoreWebView2Settings2
impl Eq for ICoreWebView2Settings2
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2Settings2
impl !Send for ICoreWebView2Settings2
impl !Sync for ICoreWebView2Settings2
impl Unpin for ICoreWebView2Settings2
impl UnwindSafe for ICoreWebView2Settings2
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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>
sourcepub unsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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