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