Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2Settings3
source · [−]#[repr(transparent)]pub struct ICoreWebView2Settings3(_);
Implementations
sourceimpl ICoreWebView2Settings3
impl ICoreWebView2Settings3
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<()>
Trait Implementations
sourceimpl Clone for ICoreWebView2Settings3
impl Clone for ICoreWebView2Settings3
sourceimpl Debug for ICoreWebView2Settings3
impl Debug for ICoreWebView2Settings3
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<&'_ ICoreWebView2Settings3> for ICoreWebView2Settings
impl From<&'_ ICoreWebView2Settings3> for ICoreWebView2Settings
sourcefn from(value: &ICoreWebView2Settings3) -> Self
fn from(value: &ICoreWebView2Settings3) -> Self
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Settings3> for IUnknown
impl From<&'_ ICoreWebView2Settings3> for IUnknown
sourcefn from(value: &ICoreWebView2Settings3) -> Self
fn from(value: &ICoreWebView2Settings3) -> Self
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Settings4> for ICoreWebView2Settings3
impl From<&'_ ICoreWebView2Settings4> for ICoreWebView2Settings3
sourcefn from(value: &ICoreWebView2Settings4) -> Self
fn from(value: &ICoreWebView2Settings4) -> Self
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Settings5> for ICoreWebView2Settings3
impl From<&'_ ICoreWebView2Settings5> for ICoreWebView2Settings3
sourcefn from(value: &ICoreWebView2Settings5) -> Self
fn from(value: &ICoreWebView2Settings5) -> Self
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Settings6> for ICoreWebView2Settings3
impl From<&'_ ICoreWebView2Settings6> for ICoreWebView2Settings3
sourcefn from(value: &ICoreWebView2Settings6) -> Self
fn from(value: &ICoreWebView2Settings6) -> 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<ICoreWebView2Settings3> for ICoreWebView2Settings
impl From<ICoreWebView2Settings3> for ICoreWebView2Settings
sourcefn from(value: ICoreWebView2Settings3) -> Self
fn from(value: ICoreWebView2Settings3) -> Self
Performs the conversion.
sourceimpl From<ICoreWebView2Settings3> for IUnknown
impl From<ICoreWebView2Settings3> for IUnknown
sourcefn from(value: ICoreWebView2Settings3) -> Self
fn from(value: ICoreWebView2Settings3) -> Self
Performs the conversion.
sourceimpl From<ICoreWebView2Settings4> for ICoreWebView2Settings3
impl From<ICoreWebView2Settings4> for ICoreWebView2Settings3
sourcefn from(value: ICoreWebView2Settings4) -> Self
fn from(value: ICoreWebView2Settings4) -> Self
Performs the conversion.
sourceimpl From<ICoreWebView2Settings5> for ICoreWebView2Settings3
impl From<ICoreWebView2Settings5> for ICoreWebView2Settings3
sourcefn from(value: ICoreWebView2Settings5) -> Self
fn from(value: ICoreWebView2Settings5) -> Self
Performs the conversion.
sourceimpl From<ICoreWebView2Settings6> for ICoreWebView2Settings3
impl From<ICoreWebView2Settings6> for ICoreWebView2Settings3
sourcefn from(value: ICoreWebView2Settings6) -> Self
fn from(value: ICoreWebView2Settings6) -> Self
Performs the conversion.
sourceimpl Interface for ICoreWebView2Settings3
impl Interface for ICoreWebView2Settings3
impl Eq for ICoreWebView2Settings3
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2Settings3
impl !Send for ICoreWebView2Settings3
impl !Sync for ICoreWebView2Settings3
impl Unpin for ICoreWebView2Settings3
impl UnwindSafe for ICoreWebView2Settings3
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