pub struct ICoreWebView2Settings(/* private fields */);
Implementations§
Source§impl ICoreWebView2Settings
impl ICoreWebView2Settings
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<()>
Trait Implementations§
Source§impl Clone for ICoreWebView2Settings
impl Clone for ICoreWebView2Settings
Source§fn clone(&self) -> ICoreWebView2Settings
fn clone(&self) -> ICoreWebView2Settings
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 ICoreWebView2Settings
impl Debug for ICoreWebView2Settings
Source§impl From<&ICoreWebView2Settings> for IUnknown
impl From<&ICoreWebView2Settings> for IUnknown
Source§fn from(value: &ICoreWebView2Settings) -> Self
fn from(value: &ICoreWebView2Settings) -> 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<&ICoreWebView2Settings3> for ICoreWebView2Settings
impl From<&ICoreWebView2Settings3> for ICoreWebView2Settings
Source§fn from(value: &ICoreWebView2Settings3) -> Self
fn from(value: &ICoreWebView2Settings3) -> Self
Converts to this type from the input type.
Source§impl From<&ICoreWebView2Settings4> for ICoreWebView2Settings
impl From<&ICoreWebView2Settings4> for ICoreWebView2Settings
Source§fn from(value: &ICoreWebView2Settings4) -> Self
fn from(value: &ICoreWebView2Settings4) -> 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<ICoreWebView2Settings> for IUnknown
impl From<ICoreWebView2Settings> for IUnknown
Source§fn from(value: ICoreWebView2Settings) -> Self
fn from(value: ICoreWebView2Settings) -> 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<ICoreWebView2Settings3> for ICoreWebView2Settings
impl From<ICoreWebView2Settings3> for ICoreWebView2Settings
Source§fn from(value: ICoreWebView2Settings3) -> Self
fn from(value: ICoreWebView2Settings3) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Settings4> for ICoreWebView2Settings
impl From<ICoreWebView2Settings4> for ICoreWebView2Settings
Source§fn from(value: ICoreWebView2Settings4) -> Self
fn from(value: ICoreWebView2Settings4) -> 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 Interface for ICoreWebView2Settings
impl Interface for ICoreWebView2Settings
const IID: Guid
type Vtable = ICoreWebView2Settings_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 ICoreWebView2Settings
impl PartialEq for ICoreWebView2Settings
impl Eq for ICoreWebView2Settings
impl StructuralPartialEq for ICoreWebView2Settings
Auto Trait Implementations§
impl Freeze for ICoreWebView2Settings
impl RefUnwindSafe for ICoreWebView2Settings
impl !Send for ICoreWebView2Settings
impl !Sync for ICoreWebView2Settings
impl Unpin for ICoreWebView2Settings
impl UnwindSafe for ICoreWebView2Settings
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