pub struct ICoreWebView2Settings2(/* private fields */);
Implementations§
Source§impl ICoreWebView2Settings2
impl ICoreWebView2Settings2
pub unsafe fn get_IsScriptEnabled( &self, isscriptenabled: *mut BOOL, ) -> Result<()>
pub unsafe fn put_IsScriptEnabled<'a>( &self, isscriptenabled: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn get_IsWebMessageEnabled( &self, iswebmessageenabled: *mut BOOL, ) -> Result<()>
pub unsafe fn put_IsWebMessageEnabled<'a>( &self, iswebmessageenabled: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn get_AreDefaultScriptDialogsEnabled( &self, aredefaultscriptdialogsenabled: *mut BOOL, ) -> Result<()>
pub unsafe fn put_AreDefaultScriptDialogsEnabled<'a>( &self, aredefaultscriptdialogsenabled: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn get_IsStatusBarEnabled( &self, isstatusbarenabled: *mut BOOL, ) -> Result<()>
pub unsafe fn put_IsStatusBarEnabled<'a>( &self, isstatusbarenabled: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn get_AreDevToolsEnabled( &self, aredevtoolsenabled: *mut BOOL, ) -> Result<()>
pub unsafe fn put_AreDevToolsEnabled<'a>( &self, aredevtoolsenabled: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn get_AreDefaultContextMenusEnabled( &self, enabled: *mut BOOL, ) -> Result<()>
pub unsafe fn put_AreDefaultContextMenusEnabled<'a>( &self, enabled: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn get_AreHostObjectsAllowed(&self, allowed: *mut BOOL) -> Result<()>
pub unsafe fn put_AreHostObjectsAllowed<'a>( &self, allowed: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn get_IsZoomControlEnabled(&self, enabled: *mut BOOL) -> Result<()>
pub unsafe fn put_IsZoomControlEnabled<'a>( &self, enabled: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn get_IsBuiltInErrorPageEnabled( &self, enabled: *mut BOOL, ) -> Result<()>
pub unsafe fn put_IsBuiltInErrorPageEnabled<'a>( &self, enabled: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn get_UserAgent(&self, useragent: *mut PWSTR) -> Result<()>
pub unsafe fn put_UserAgent<'a>( &self, useragent: impl IntoParam<'a, PWSTR>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for ICoreWebView2Settings2
impl Clone for ICoreWebView2Settings2
Source§fn clone(&self) -> ICoreWebView2Settings2
fn clone(&self) -> ICoreWebView2Settings2
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ICoreWebView2Settings2
impl Debug for ICoreWebView2Settings2
Source§impl From<&ICoreWebView2Settings2> for ICoreWebView2Settings
impl From<&ICoreWebView2Settings2> for ICoreWebView2Settings
Source§fn from(value: &ICoreWebView2Settings2) -> Self
fn from(value: &ICoreWebView2Settings2) -> Self
Converts to this type from the input type.
Source§impl From<&ICoreWebView2Settings2> for IUnknown
impl From<&ICoreWebView2Settings2> for IUnknown
Source§fn from(value: &ICoreWebView2Settings2) -> Self
fn from(value: &ICoreWebView2Settings2) -> Self
Converts to this type from the input type.
Source§impl From<&ICoreWebView2Settings3> for ICoreWebView2Settings2
impl From<&ICoreWebView2Settings3> for ICoreWebView2Settings2
Source§fn from(value: &ICoreWebView2Settings3) -> Self
fn from(value: &ICoreWebView2Settings3) -> Self
Converts to this type from the input type.
Source§impl From<&ICoreWebView2Settings4> for ICoreWebView2Settings2
impl From<&ICoreWebView2Settings4> for ICoreWebView2Settings2
Source§fn from(value: &ICoreWebView2Settings4) -> Self
fn from(value: &ICoreWebView2Settings4) -> Self
Converts to this type from the input type.
Source§impl From<&ICoreWebView2Settings5> for ICoreWebView2Settings2
impl From<&ICoreWebView2Settings5> for ICoreWebView2Settings2
Source§fn from(value: &ICoreWebView2Settings5) -> Self
fn from(value: &ICoreWebView2Settings5) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Settings2> for ICoreWebView2Settings
impl From<ICoreWebView2Settings2> for ICoreWebView2Settings
Source§fn from(value: ICoreWebView2Settings2) -> Self
fn from(value: ICoreWebView2Settings2) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Settings2> for IUnknown
impl From<ICoreWebView2Settings2> for IUnknown
Source§fn from(value: ICoreWebView2Settings2) -> Self
fn from(value: ICoreWebView2Settings2) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Settings3> for ICoreWebView2Settings2
impl From<ICoreWebView2Settings3> for ICoreWebView2Settings2
Source§fn from(value: ICoreWebView2Settings3) -> Self
fn from(value: ICoreWebView2Settings3) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Settings4> for ICoreWebView2Settings2
impl From<ICoreWebView2Settings4> for ICoreWebView2Settings2
Source§fn from(value: ICoreWebView2Settings4) -> Self
fn from(value: ICoreWebView2Settings4) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Settings5> for ICoreWebView2Settings2
impl From<ICoreWebView2Settings5> for ICoreWebView2Settings2
Source§fn from(value: ICoreWebView2Settings5) -> Self
fn from(value: ICoreWebView2Settings5) -> Self
Converts to this type from the input type.
Source§impl Interface for ICoreWebView2Settings2
impl Interface for ICoreWebView2Settings2
const IID: Guid
type Vtable = ICoreWebView2Settings2_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for ICoreWebView2Settings2
impl PartialEq for ICoreWebView2Settings2
impl Eq for ICoreWebView2Settings2
impl StructuralPartialEq for ICoreWebView2Settings2
Auto Trait Implementations§
impl Freeze for ICoreWebView2Settings2
impl RefUnwindSafe for ICoreWebView2Settings2
impl !Send for ICoreWebView2Settings2
impl !Sync for ICoreWebView2Settings2
impl Unpin for ICoreWebView2Settings2
impl UnwindSafe for ICoreWebView2Settings2
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more