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, P0>(
&self,
isscriptenabled: P0
) -> Result<()> where
P0: Into<BOOL>,
pub unsafe fn IsWebMessageEnabled(
&self,
iswebmessageenabled: *mut BOOL
) -> Result<()>
pub unsafe fn SetIsWebMessageEnabled<'a, P0>(
&self,
iswebmessageenabled: P0
) -> Result<()> where
P0: Into<BOOL>,
pub unsafe fn AreDefaultScriptDialogsEnabled(
&self,
aredefaultscriptdialogsenabled: *mut BOOL
) -> Result<()>
pub unsafe fn SetAreDefaultScriptDialogsEnabled<'a, P0>(
&self,
aredefaultscriptdialogsenabled: P0
) -> Result<()> where
P0: Into<BOOL>,
pub unsafe fn IsStatusBarEnabled(
&self,
isstatusbarenabled: *mut BOOL
) -> Result<()>
pub unsafe fn SetIsStatusBarEnabled<'a, P0>(
&self,
isstatusbarenabled: P0
) -> Result<()> where
P0: Into<BOOL>,
pub unsafe fn AreDevToolsEnabled(
&self,
aredevtoolsenabled: *mut BOOL
) -> Result<()>
pub unsafe fn SetAreDevToolsEnabled<'a, P0>(
&self,
aredevtoolsenabled: P0
) -> Result<()> where
P0: Into<BOOL>,
pub unsafe fn AreDefaultContextMenusEnabled(
&self,
enabled: *mut BOOL
) -> Result<()>
pub unsafe fn SetAreDefaultContextMenusEnabled<'a, P0>(
&self,
enabled: P0
) -> Result<()> where
P0: Into<BOOL>,
pub unsafe fn AreHostObjectsAllowed(&self, allowed: *mut BOOL) -> Result<()>
pub unsafe fn SetAreHostObjectsAllowed<'a, P0>(&self, allowed: P0) -> Result<()> where
P0: Into<BOOL>,
pub unsafe fn IsZoomControlEnabled(&self, enabled: *mut BOOL) -> Result<()>
pub unsafe fn SetIsZoomControlEnabled<'a, P0>(&self, enabled: P0) -> Result<()> where
P0: Into<BOOL>,
pub unsafe fn IsBuiltInErrorPageEnabled(&self, enabled: *mut BOOL) -> Result<()>
pub unsafe fn SetIsBuiltInErrorPageEnabled<'a, P0>(
&self,
enabled: P0
) -> Result<()> where
P0: Into<BOOL>,
pub unsafe fn UserAgent(&self, useragent: *mut PWSTR) -> Result<()>
pub unsafe fn SetUserAgent<'a, P0>(&self, useragent: P0) -> Result<()> where
P0: Into<PCWSTR>,
Trait Implementations
sourceimpl Clone for ICoreWebView2Settings2
impl Clone for ICoreWebView2Settings2
sourceimpl Debug for ICoreWebView2Settings2
impl Debug for ICoreWebView2Settings2
sourceimpl<'a> From<&'a ICoreWebView2Settings2> for &'a ICoreWebView2Settings
impl<'a> From<&'a ICoreWebView2Settings2> for &'a ICoreWebView2Settings
sourcefn from(value: &'a ICoreWebView2Settings2) -> Self
fn from(value: &'a ICoreWebView2Settings2) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2Settings2> for &'a IUnknown
impl<'a> From<&'a ICoreWebView2Settings2> for &'a IUnknown
sourcefn from(value: &'a ICoreWebView2Settings2) -> Self
fn from(value: &'a ICoreWebView2Settings2) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2Settings3> for &'a ICoreWebView2Settings2
impl<'a> From<&'a ICoreWebView2Settings3> for &'a ICoreWebView2Settings2
sourcefn from(value: &'a ICoreWebView2Settings3) -> Self
fn from(value: &'a ICoreWebView2Settings3) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2Settings4> for &'a ICoreWebView2Settings2
impl<'a> From<&'a ICoreWebView2Settings4> for &'a ICoreWebView2Settings2
sourcefn from(value: &'a ICoreWebView2Settings4) -> Self
fn from(value: &'a ICoreWebView2Settings4) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2Settings5> for &'a ICoreWebView2Settings2
impl<'a> From<&'a ICoreWebView2Settings5> for &'a ICoreWebView2Settings2
sourcefn from(value: &'a ICoreWebView2Settings5) -> Self
fn from(value: &'a ICoreWebView2Settings5) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2Settings6> for &'a ICoreWebView2Settings2
impl<'a> From<&'a ICoreWebView2Settings6> for &'a ICoreWebView2Settings2
sourcefn from(value: &'a ICoreWebView2Settings6) -> Self
fn from(value: &'a ICoreWebView2Settings6) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2Settings7> for &'a ICoreWebView2Settings2
impl<'a> From<&'a ICoreWebView2Settings7> for &'a ICoreWebView2Settings2
sourcefn from(value: &'a ICoreWebView2Settings7) -> Self
fn from(value: &'a ICoreWebView2Settings7) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2Settings2> for ICoreWebView2Settings
impl From<&ICoreWebView2Settings2> for ICoreWebView2Settings
sourcefn from(value: &ICoreWebView2Settings2) -> Self
fn from(value: &ICoreWebView2Settings2) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2Settings2> for IUnknown
impl From<&ICoreWebView2Settings2> for IUnknown
sourcefn from(value: &ICoreWebView2Settings2) -> Self
fn from(value: &ICoreWebView2Settings2) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2Settings3> for ICoreWebView2Settings2
impl From<&ICoreWebView2Settings3> for ICoreWebView2Settings2
sourcefn from(value: &ICoreWebView2Settings3) -> Self
fn from(value: &ICoreWebView2Settings3) -> 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<&ICoreWebView2Settings5> for ICoreWebView2Settings2
impl From<&ICoreWebView2Settings5> for ICoreWebView2Settings2
sourcefn from(value: &ICoreWebView2Settings5) -> Self
fn from(value: &ICoreWebView2Settings5) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2Settings6> for ICoreWebView2Settings2
impl From<&ICoreWebView2Settings6> for ICoreWebView2Settings2
sourcefn from(value: &ICoreWebView2Settings6) -> Self
fn from(value: &ICoreWebView2Settings6) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2Settings7> for ICoreWebView2Settings2
impl From<&ICoreWebView2Settings7> for ICoreWebView2Settings2
sourcefn from(value: &ICoreWebView2Settings7) -> Self
fn from(value: &ICoreWebView2Settings7) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Settings2> for ICoreWebView2Settings
impl From<ICoreWebView2Settings2> for ICoreWebView2Settings
sourcefn from(value: ICoreWebView2Settings2) -> Self
fn from(value: ICoreWebView2Settings2) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Settings2> for IUnknown
impl From<ICoreWebView2Settings2> for IUnknown
sourcefn from(value: ICoreWebView2Settings2) -> Self
fn from(value: ICoreWebView2Settings2) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Settings3> for ICoreWebView2Settings2
impl From<ICoreWebView2Settings3> for ICoreWebView2Settings2
sourcefn from(value: ICoreWebView2Settings3) -> Self
fn from(value: ICoreWebView2Settings3) -> 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<ICoreWebView2Settings5> for ICoreWebView2Settings2
impl From<ICoreWebView2Settings5> for ICoreWebView2Settings2
sourcefn from(value: ICoreWebView2Settings5) -> Self
fn from(value: ICoreWebView2Settings5) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Settings6> for ICoreWebView2Settings2
impl From<ICoreWebView2Settings6> for ICoreWebView2Settings2
sourcefn from(value: ICoreWebView2Settings6) -> Self
fn from(value: ICoreWebView2Settings6) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Settings7> for ICoreWebView2Settings2
impl From<ICoreWebView2Settings7> for ICoreWebView2Settings2
sourcefn from(value: ICoreWebView2Settings7) -> Self
fn from(value: ICoreWebView2Settings7) -> Self
Converts to this type from the input type.
sourceimpl Interface for ICoreWebView2Settings2
impl Interface for ICoreWebView2Settings2
sourceimpl PartialEq<ICoreWebView2Settings2> for ICoreWebView2Settings2
impl PartialEq<ICoreWebView2Settings2> for ICoreWebView2Settings2
sourceimpl RuntimeName for ICoreWebView2Settings2
impl RuntimeName 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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more