Struct webview2_com::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<(), Error>
pub unsafe fn SetIsScriptEnabled<'a, Param0>(
&self,
isscriptenabled: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, BOOL>,
pub unsafe fn IsWebMessageEnabled(
&self,
iswebmessageenabled: *mut BOOL
) -> Result<(), Error>
pub unsafe fn SetIsWebMessageEnabled<'a, Param0>(
&self,
iswebmessageenabled: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, BOOL>,
pub unsafe fn AreDefaultScriptDialogsEnabled(
&self,
aredefaultscriptdialogsenabled: *mut BOOL
) -> Result<(), Error>
pub unsafe fn SetAreDefaultScriptDialogsEnabled<'a, Param0>(
&self,
aredefaultscriptdialogsenabled: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, BOOL>,
pub unsafe fn IsStatusBarEnabled(
&self,
isstatusbarenabled: *mut BOOL
) -> Result<(), Error>
pub unsafe fn SetIsStatusBarEnabled<'a, Param0>(
&self,
isstatusbarenabled: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, BOOL>,
pub unsafe fn AreDevToolsEnabled(
&self,
aredevtoolsenabled: *mut BOOL
) -> Result<(), Error>
pub unsafe fn SetAreDevToolsEnabled<'a, Param0>(
&self,
aredevtoolsenabled: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, BOOL>,
pub unsafe fn AreDefaultContextMenusEnabled(
&self,
enabled: *mut BOOL
) -> Result<(), Error>
pub unsafe fn SetAreDefaultContextMenusEnabled<'a, Param0>(
&self,
enabled: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, BOOL>,
pub unsafe fn AreHostObjectsAllowed(
&self,
allowed: *mut BOOL
) -> Result<(), Error>
pub unsafe fn SetAreHostObjectsAllowed<'a, Param0>(
&self,
allowed: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, BOOL>,
pub unsafe fn IsZoomControlEnabled(
&self,
enabled: *mut BOOL
) -> Result<(), Error>
pub unsafe fn SetIsZoomControlEnabled<'a, Param0>(
&self,
enabled: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, BOOL>,
pub unsafe fn IsBuiltInErrorPageEnabled(
&self,
enabled: *mut BOOL
) -> Result<(), Error>
pub unsafe fn SetIsBuiltInErrorPageEnabled<'a, Param0>(
&self,
enabled: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, BOOL>,
Trait Implementations
sourceimpl Clone for ICoreWebView2Settings
impl Clone for ICoreWebView2Settings
sourcepub fn clone(&self) -> ICoreWebView2Settings
pub fn clone(&self) -> ICoreWebView2Settings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ICoreWebView2Settings
impl Debug for ICoreWebView2Settings
sourceimpl From<&'_ ICoreWebView2Settings2> for ICoreWebView2Settings
impl From<&'_ ICoreWebView2Settings2> for ICoreWebView2Settings
sourcepub fn from(value: &ICoreWebView2Settings2) -> ICoreWebView2Settings
pub fn from(value: &ICoreWebView2Settings2) -> ICoreWebView2Settings
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Settings3> for ICoreWebView2Settings
impl From<&'_ ICoreWebView2Settings3> for ICoreWebView2Settings
sourcepub fn from(value: &ICoreWebView2Settings3) -> ICoreWebView2Settings
pub fn from(value: &ICoreWebView2Settings3) -> ICoreWebView2Settings
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Settings4> for ICoreWebView2Settings
impl From<&'_ ICoreWebView2Settings4> for ICoreWebView2Settings
sourcepub fn from(value: &ICoreWebView2Settings4) -> ICoreWebView2Settings
pub fn from(value: &ICoreWebView2Settings4) -> ICoreWebView2Settings
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Settings5> for ICoreWebView2Settings
impl From<&'_ ICoreWebView2Settings5> for ICoreWebView2Settings
sourcepub fn from(value: &ICoreWebView2Settings5) -> ICoreWebView2Settings
pub fn from(value: &ICoreWebView2Settings5) -> ICoreWebView2Settings
Performs the conversion.
sourceimpl From<&'_ ICoreWebView2Settings6> for ICoreWebView2Settings
impl From<&'_ ICoreWebView2Settings6> for ICoreWebView2Settings
sourcepub fn from(value: &ICoreWebView2Settings6) -> ICoreWebView2Settings
pub fn from(value: &ICoreWebView2Settings6) -> ICoreWebView2Settings
Performs the conversion.
sourceimpl From<ICoreWebView2Settings2> for ICoreWebView2Settings
impl From<ICoreWebView2Settings2> for ICoreWebView2Settings
sourcepub fn from(value: ICoreWebView2Settings2) -> ICoreWebView2Settings
pub fn from(value: ICoreWebView2Settings2) -> ICoreWebView2Settings
Performs the conversion.
sourceimpl From<ICoreWebView2Settings3> for ICoreWebView2Settings
impl From<ICoreWebView2Settings3> for ICoreWebView2Settings
sourcepub fn from(value: ICoreWebView2Settings3) -> ICoreWebView2Settings
pub fn from(value: ICoreWebView2Settings3) -> ICoreWebView2Settings
Performs the conversion.
sourceimpl From<ICoreWebView2Settings4> for ICoreWebView2Settings
impl From<ICoreWebView2Settings4> for ICoreWebView2Settings
sourcepub fn from(value: ICoreWebView2Settings4) -> ICoreWebView2Settings
pub fn from(value: ICoreWebView2Settings4) -> ICoreWebView2Settings
Performs the conversion.
sourceimpl From<ICoreWebView2Settings5> for ICoreWebView2Settings
impl From<ICoreWebView2Settings5> for ICoreWebView2Settings
sourcepub fn from(value: ICoreWebView2Settings5) -> ICoreWebView2Settings
pub fn from(value: ICoreWebView2Settings5) -> ICoreWebView2Settings
Performs the conversion.
sourceimpl From<ICoreWebView2Settings6> for ICoreWebView2Settings
impl From<ICoreWebView2Settings6> for ICoreWebView2Settings
sourcepub fn from(value: ICoreWebView2Settings6) -> ICoreWebView2Settings
pub fn from(value: ICoreWebView2Settings6) -> ICoreWebView2Settings
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