pub struct ICoreWebView2Settings9(/* private fields */);Implementations§
Source§impl ICoreWebView2Settings9
impl ICoreWebView2Settings9
pub unsafe fn IsNonClientRegionSupportEnabled(&self) -> Result<BOOL>
pub unsafe fn SetIsNonClientRegionSupportEnabled( &self, value: bool, ) -> Result<()>
Methods from Deref<Target = ICoreWebView2Settings8>§
pub unsafe fn IsReputationCheckingRequired(&self) -> Result<BOOL>
pub unsafe fn SetIsReputationCheckingRequired(&self, value: bool) -> Result<()>
Methods from Deref<Target = ICoreWebView2Settings7>§
pub unsafe fn HiddenPdfToolbarItems( &self, ) -> Result<COREWEBVIEW2_PDF_TOOLBAR_ITEMS>
pub unsafe fn SetHiddenPdfToolbarItems( &self, value: COREWEBVIEW2_PDF_TOOLBAR_ITEMS, ) -> Result<()>
Methods from Deref<Target = ICoreWebView2Settings6>§
Methods from Deref<Target = ICoreWebView2Settings5>§
pub unsafe fn IsPinchZoomEnabled(&self) -> Result<BOOL>
pub unsafe fn SetIsPinchZoomEnabled(&self, value: bool) -> Result<()>
Methods from Deref<Target = ICoreWebView2Settings4>§
pub unsafe fn IsPasswordAutosaveEnabled(&self) -> Result<BOOL>
pub unsafe fn SetIsPasswordAutosaveEnabled(&self, value: bool) -> Result<()>
pub unsafe fn IsGeneralAutofillEnabled(&self) -> Result<BOOL>
pub unsafe fn SetIsGeneralAutofillEnabled(&self, value: bool) -> Result<()>
Methods from Deref<Target = ICoreWebView2Settings3>§
pub unsafe fn AreBrowserAcceleratorKeysEnabled(&self) -> Result<BOOL>
pub unsafe fn SetAreBrowserAcceleratorKeysEnabled( &self, value: bool, ) -> Result<()>
Methods from Deref<Target = ICoreWebView2Settings2>§
Methods from Deref<Target = ICoreWebView2Settings>§
pub unsafe fn IsScriptEnabled(&self) -> Result<BOOL>
pub unsafe fn SetIsScriptEnabled(&self, isscriptenabled: bool) -> Result<()>
pub unsafe fn IsWebMessageEnabled(&self) -> Result<BOOL>
pub unsafe fn SetIsWebMessageEnabled( &self, iswebmessageenabled: bool, ) -> Result<()>
pub unsafe fn AreDefaultScriptDialogsEnabled(&self) -> Result<BOOL>
pub unsafe fn SetAreDefaultScriptDialogsEnabled( &self, aredefaultscriptdialogsenabled: bool, ) -> Result<()>
pub unsafe fn IsStatusBarEnabled(&self) -> Result<BOOL>
pub unsafe fn SetIsStatusBarEnabled( &self, isstatusbarenabled: bool, ) -> Result<()>
pub unsafe fn AreDevToolsEnabled(&self) -> Result<BOOL>
pub unsafe fn SetAreDevToolsEnabled( &self, aredevtoolsenabled: bool, ) -> Result<()>
pub unsafe fn AreDefaultContextMenusEnabled(&self) -> Result<BOOL>
pub unsafe fn SetAreDefaultContextMenusEnabled( &self, enabled: bool, ) -> Result<()>
pub unsafe fn AreHostObjectsAllowed(&self) -> Result<BOOL>
pub unsafe fn SetAreHostObjectsAllowed(&self, allowed: bool) -> Result<()>
pub unsafe fn IsZoomControlEnabled(&self) -> Result<BOOL>
pub unsafe fn SetIsZoomControlEnabled(&self, enabled: bool) -> Result<()>
pub unsafe fn IsBuiltInErrorPageEnabled(&self) -> Result<BOOL>
pub unsafe fn SetIsBuiltInErrorPageEnabled(&self, enabled: bool) -> Result<()>
Trait Implementations§
Source§impl CanInto<ICoreWebView2Settings> for ICoreWebView2Settings9
impl CanInto<ICoreWebView2Settings> for ICoreWebView2Settings9
Source§impl CanInto<ICoreWebView2Settings2> for ICoreWebView2Settings9
impl CanInto<ICoreWebView2Settings2> for ICoreWebView2Settings9
Source§impl CanInto<ICoreWebView2Settings3> for ICoreWebView2Settings9
impl CanInto<ICoreWebView2Settings3> for ICoreWebView2Settings9
Source§impl CanInto<ICoreWebView2Settings4> for ICoreWebView2Settings9
impl CanInto<ICoreWebView2Settings4> for ICoreWebView2Settings9
Source§impl CanInto<ICoreWebView2Settings5> for ICoreWebView2Settings9
impl CanInto<ICoreWebView2Settings5> for ICoreWebView2Settings9
Source§impl CanInto<ICoreWebView2Settings6> for ICoreWebView2Settings9
impl CanInto<ICoreWebView2Settings6> for ICoreWebView2Settings9
Source§impl CanInto<ICoreWebView2Settings7> for ICoreWebView2Settings9
impl CanInto<ICoreWebView2Settings7> for ICoreWebView2Settings9
Source§impl CanInto<ICoreWebView2Settings8> for ICoreWebView2Settings9
impl CanInto<ICoreWebView2Settings8> for ICoreWebView2Settings9
Source§impl Clone for ICoreWebView2Settings9
impl Clone for ICoreWebView2Settings9
Source§fn clone(&self) -> ICoreWebView2Settings9
fn clone(&self) -> ICoreWebView2Settings9
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ICoreWebView2Settings9
impl Debug for ICoreWebView2Settings9
Source§impl Deref for ICoreWebView2Settings9
impl Deref for ICoreWebView2Settings9
Source§impl From<&ICoreWebView2Settings9> for &ICoreWebView2Settings
impl From<&ICoreWebView2Settings9> for &ICoreWebView2Settings
Source§fn from(value: &ICoreWebView2Settings9) -> Self
fn from(value: &ICoreWebView2Settings9) -> Self
Converts to this type from the input type.
Source§impl From<&ICoreWebView2Settings9> for &ICoreWebView2Settings2
impl From<&ICoreWebView2Settings9> for &ICoreWebView2Settings2
Source§fn from(value: &ICoreWebView2Settings9) -> Self
fn from(value: &ICoreWebView2Settings9) -> Self
Converts to this type from the input type.
Source§impl From<&ICoreWebView2Settings9> for &ICoreWebView2Settings3
impl From<&ICoreWebView2Settings9> for &ICoreWebView2Settings3
Source§fn from(value: &ICoreWebView2Settings9) -> Self
fn from(value: &ICoreWebView2Settings9) -> Self
Converts to this type from the input type.
Source§impl From<&ICoreWebView2Settings9> for &ICoreWebView2Settings4
impl From<&ICoreWebView2Settings9> for &ICoreWebView2Settings4
Source§fn from(value: &ICoreWebView2Settings9) -> Self
fn from(value: &ICoreWebView2Settings9) -> Self
Converts to this type from the input type.
Source§impl From<&ICoreWebView2Settings9> for &ICoreWebView2Settings5
impl From<&ICoreWebView2Settings9> for &ICoreWebView2Settings5
Source§fn from(value: &ICoreWebView2Settings9) -> Self
fn from(value: &ICoreWebView2Settings9) -> Self
Converts to this type from the input type.
Source§impl From<&ICoreWebView2Settings9> for &ICoreWebView2Settings6
impl From<&ICoreWebView2Settings9> for &ICoreWebView2Settings6
Source§fn from(value: &ICoreWebView2Settings9) -> Self
fn from(value: &ICoreWebView2Settings9) -> Self
Converts to this type from the input type.
Source§impl From<&ICoreWebView2Settings9> for &ICoreWebView2Settings7
impl From<&ICoreWebView2Settings9> for &ICoreWebView2Settings7
Source§fn from(value: &ICoreWebView2Settings9) -> Self
fn from(value: &ICoreWebView2Settings9) -> Self
Converts to this type from the input type.
Source§impl From<&ICoreWebView2Settings9> for &ICoreWebView2Settings8
impl From<&ICoreWebView2Settings9> for &ICoreWebView2Settings8
Source§fn from(value: &ICoreWebView2Settings9) -> Self
fn from(value: &ICoreWebView2Settings9) -> Self
Converts to this type from the input type.
Source§impl From<&ICoreWebView2Settings9> for &IUnknown
impl From<&ICoreWebView2Settings9> for &IUnknown
Source§fn from(value: &ICoreWebView2Settings9) -> Self
fn from(value: &ICoreWebView2Settings9) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Settings9> for ICoreWebView2Settings
impl From<ICoreWebView2Settings9> for ICoreWebView2Settings
Source§fn from(value: ICoreWebView2Settings9) -> Self
fn from(value: ICoreWebView2Settings9) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Settings9> for ICoreWebView2Settings2
impl From<ICoreWebView2Settings9> for ICoreWebView2Settings2
Source§fn from(value: ICoreWebView2Settings9) -> Self
fn from(value: ICoreWebView2Settings9) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Settings9> for ICoreWebView2Settings3
impl From<ICoreWebView2Settings9> for ICoreWebView2Settings3
Source§fn from(value: ICoreWebView2Settings9) -> Self
fn from(value: ICoreWebView2Settings9) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Settings9> for ICoreWebView2Settings4
impl From<ICoreWebView2Settings9> for ICoreWebView2Settings4
Source§fn from(value: ICoreWebView2Settings9) -> Self
fn from(value: ICoreWebView2Settings9) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Settings9> for ICoreWebView2Settings5
impl From<ICoreWebView2Settings9> for ICoreWebView2Settings5
Source§fn from(value: ICoreWebView2Settings9) -> Self
fn from(value: ICoreWebView2Settings9) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Settings9> for ICoreWebView2Settings6
impl From<ICoreWebView2Settings9> for ICoreWebView2Settings6
Source§fn from(value: ICoreWebView2Settings9) -> Self
fn from(value: ICoreWebView2Settings9) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Settings9> for ICoreWebView2Settings7
impl From<ICoreWebView2Settings9> for ICoreWebView2Settings7
Source§fn from(value: ICoreWebView2Settings9) -> Self
fn from(value: ICoreWebView2Settings9) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Settings9> for ICoreWebView2Settings8
impl From<ICoreWebView2Settings9> for ICoreWebView2Settings8
Source§fn from(value: ICoreWebView2Settings9) -> Self
fn from(value: ICoreWebView2Settings9) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Settings9> for IUnknown
impl From<ICoreWebView2Settings9> for IUnknown
Source§fn from(value: ICoreWebView2Settings9) -> Self
fn from(value: ICoreWebView2Settings9) -> Self
Converts to this type from the input type.
Source§impl Interface for ICoreWebView2Settings9
impl Interface for ICoreWebView2Settings9
Source§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface implementation.Source§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
Source§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface. Read moreSource§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>
This casts the given COM interface to [
&dyn Any]. Read moreSource§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>
This casts the given COM interface to [
&dyn Any]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl, not the inner &MyApp object. Read moreSource§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>
This casts the given COM interface to [
&dyn Any]. It returns a reference to the “outer”
object, e.g. MyApp_Impl, not the inner MyApp object. Read moreSource§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a
Weak reference to this object.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
Call
QueryInterface on this interface Read moreSource§fn to_ref(&self) -> InterfaceRef<'_, Self>
fn to_ref(&self) -> InterfaceRef<'_, Self>
Creates an
InterfaceRef for this reference. The InterfaceRef tracks lifetimes statically,
and eliminates the need for dynamic reference count adjustments (AddRef/Release).Source§impl PartialEq for ICoreWebView2Settings9
impl PartialEq for ICoreWebView2Settings9
Source§fn eq(&self, other: &ICoreWebView2Settings9) -> bool
fn eq(&self, other: &ICoreWebView2Settings9) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ICoreWebView2Settings9
impl StructuralPartialEq for ICoreWebView2Settings9
Auto Trait Implementations§
impl Freeze for ICoreWebView2Settings9
impl RefUnwindSafe for ICoreWebView2Settings9
impl !Send for ICoreWebView2Settings9
impl !Sync for ICoreWebView2Settings9
impl Unpin for ICoreWebView2Settings9
impl UnsafeUnpin for ICoreWebView2Settings9
impl UnwindSafe for ICoreWebView2Settings9
Blanket Implementations§
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