pub struct ICoreWebView2Settings5(/* private fields */);
Implementations§
Source§impl ICoreWebView2Settings5
impl ICoreWebView2Settings5
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<()>
pub unsafe fn get_AreBrowserAcceleratorKeysEnabled( &self, arebrowseracceleratorkeysenabled: *mut BOOL, ) -> Result<()>
pub unsafe fn put_AreBrowserAcceleratorKeysEnabled<'a>( &self, arebrowseracceleratorkeysenabled: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn get_IsPasswordAutosaveEnabled( &self, value: *mut BOOL, ) -> Result<()>
pub unsafe fn put_IsPasswordAutosaveEnabled<'a>( &self, value: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn get_IsGeneralAutofillEnabled( &self, value: *mut BOOL, ) -> Result<()>
pub unsafe fn put_IsGeneralAutofillEnabled<'a>( &self, value: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn get_IsPinchZoomEnabled(&self, enabled: *mut BOOL) -> Result<()>
pub unsafe fn put_IsPinchZoomEnabled<'a>( &self, enabled: impl IntoParam<'a, BOOL>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for ICoreWebView2Settings5
impl Clone for ICoreWebView2Settings5
Source§fn clone(&self) -> ICoreWebView2Settings5
fn clone(&self) -> ICoreWebView2Settings5
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 ICoreWebView2Settings5
impl Debug for ICoreWebView2Settings5
Source§impl From<&ICoreWebView2Settings5> for ICoreWebView2Settings
impl From<&ICoreWebView2Settings5> for ICoreWebView2Settings
Source§fn from(value: &ICoreWebView2Settings5) -> Self
fn from(value: &ICoreWebView2Settings5) -> 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<&ICoreWebView2Settings5> for ICoreWebView2Settings3
impl From<&ICoreWebView2Settings5> for ICoreWebView2Settings3
Source§fn from(value: &ICoreWebView2Settings5) -> Self
fn from(value: &ICoreWebView2Settings5) -> Self
Converts to this type from the input type.
Source§impl From<&ICoreWebView2Settings5> for ICoreWebView2Settings4
impl From<&ICoreWebView2Settings5> for ICoreWebView2Settings4
Source§fn from(value: &ICoreWebView2Settings5) -> Self
fn from(value: &ICoreWebView2Settings5) -> Self
Converts to this type from the input type.
Source§impl From<&ICoreWebView2Settings5> for IUnknown
impl From<&ICoreWebView2Settings5> for IUnknown
Source§fn from(value: &ICoreWebView2Settings5) -> Self
fn from(value: &ICoreWebView2Settings5) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Settings5> for ICoreWebView2Settings
impl From<ICoreWebView2Settings5> for ICoreWebView2Settings
Source§fn from(value: ICoreWebView2Settings5) -> Self
fn from(value: ICoreWebView2Settings5) -> 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<ICoreWebView2Settings5> for ICoreWebView2Settings3
impl From<ICoreWebView2Settings5> for ICoreWebView2Settings3
Source§fn from(value: ICoreWebView2Settings5) -> Self
fn from(value: ICoreWebView2Settings5) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Settings5> for ICoreWebView2Settings4
impl From<ICoreWebView2Settings5> for ICoreWebView2Settings4
Source§fn from(value: ICoreWebView2Settings5) -> Self
fn from(value: ICoreWebView2Settings5) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Settings5> for IUnknown
impl From<ICoreWebView2Settings5> for IUnknown
Source§fn from(value: ICoreWebView2Settings5) -> Self
fn from(value: ICoreWebView2Settings5) -> Self
Converts to this type from the input type.
Source§impl Interface for ICoreWebView2Settings5
impl Interface for ICoreWebView2Settings5
const IID: Guid
type Vtable = ICoreWebView2Settings5_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 ICoreWebView2Settings5
impl PartialEq for ICoreWebView2Settings5
impl Eq for ICoreWebView2Settings5
impl StructuralPartialEq for ICoreWebView2Settings5
Auto Trait Implementations§
impl Freeze for ICoreWebView2Settings5
impl RefUnwindSafe for ICoreWebView2Settings5
impl !Send for ICoreWebView2Settings5
impl !Sync for ICoreWebView2Settings5
impl Unpin for ICoreWebView2Settings5
impl UnwindSafe for ICoreWebView2Settings5
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