Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2Frame4
source · pub struct ICoreWebView2Frame4(/* private fields */);
Implementations§
source§impl ICoreWebView2Frame4
impl ICoreWebView2Frame4
pub unsafe fn Name(&self, name: *mut PWSTR) -> Result<()>
pub unsafe fn add_NameChanged<P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()>where
P0: IntoParam<ICoreWebView2FrameNameChangedEventHandler>,
pub unsafe fn remove_NameChanged( &self, token: EventRegistrationToken ) -> Result<()>
pub unsafe fn AddHostObjectToScriptWithOrigins<P0>(
&self,
name: P0,
object: *mut VARIANT,
originscount: u32,
origins: *const PCWSTR
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn RemoveHostObjectFromScript<P0>(&self, name: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn add_Destroyed<P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()>where
P0: IntoParam<ICoreWebView2FrameDestroyedEventHandler>,
pub unsafe fn remove_Destroyed( &self, token: EventRegistrationToken ) -> Result<()>
pub unsafe fn IsDestroyed(&self, destroyed: *mut BOOL) -> Result<()>
pub unsafe fn add_ContentLoading<P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()>where
P0: IntoParam<ICoreWebView2FrameContentLoadingEventHandler>,
pub unsafe fn remove_ContentLoading( &self, token: EventRegistrationToken ) -> Result<()>
pub unsafe fn add_DOMContentLoaded<P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()>where
P0: IntoParam<ICoreWebView2FrameDOMContentLoadedEventHandler>,
pub unsafe fn remove_DOMContentLoaded( &self, token: EventRegistrationToken ) -> Result<()>
pub unsafe fn ExecuteScript<P0, P1>(
&self,
javascript: P0,
handler: P1
) -> Result<()>where
P0: IntoParam<PCWSTR>,
P1: IntoParam<ICoreWebView2ExecuteScriptCompletedHandler>,
pub unsafe fn PostWebMessageAsJson<P0>(
&self,
webmessageasjson: P0
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn PostWebMessageAsString<P0>(
&self,
webmessageasstring: P0
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn add_WebMessageReceived<P0>(
&self,
handler: P0,
token: *mut EventRegistrationToken
) -> Result<()>where
P0: IntoParam<ICoreWebView2FrameWebMessageReceivedEventHandler>,
pub unsafe fn remove_WebMessageReceived( &self, token: EventRegistrationToken ) -> Result<()>
pub unsafe fn add_PermissionRequested<P0>(
&self,
handler: P0,
token: *mut EventRegistrationToken
) -> Result<()>where
P0: IntoParam<ICoreWebView2FramePermissionRequestedEventHandler>,
pub unsafe fn remove_PermissionRequested( &self, token: EventRegistrationToken ) -> Result<()>
Trait Implementations§
source§impl Clone for ICoreWebView2Frame4
impl Clone for ICoreWebView2Frame4
source§fn clone(&self) -> ICoreWebView2Frame4
fn clone(&self) -> ICoreWebView2Frame4
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 ICoreWebView2Frame4
impl Debug for ICoreWebView2Frame4
source§impl From<&ICoreWebView2Frame4> for &ICoreWebView2Frame
impl From<&ICoreWebView2Frame4> for &ICoreWebView2Frame
source§fn from(value: &ICoreWebView2Frame4) -> Self
fn from(value: &ICoreWebView2Frame4) -> Self
Converts to this type from the input type.
source§impl From<&ICoreWebView2Frame4> for &ICoreWebView2Frame2
impl From<&ICoreWebView2Frame4> for &ICoreWebView2Frame2
source§fn from(value: &ICoreWebView2Frame4) -> Self
fn from(value: &ICoreWebView2Frame4) -> Self
Converts to this type from the input type.
source§impl From<&ICoreWebView2Frame4> for &ICoreWebView2Frame3
impl From<&ICoreWebView2Frame4> for &ICoreWebView2Frame3
source§fn from(value: &ICoreWebView2Frame4) -> Self
fn from(value: &ICoreWebView2Frame4) -> Self
Converts to this type from the input type.
source§impl From<&ICoreWebView2Frame4> for &IUnknown
impl From<&ICoreWebView2Frame4> for &IUnknown
source§fn from(value: &ICoreWebView2Frame4) -> Self
fn from(value: &ICoreWebView2Frame4) -> Self
Converts to this type from the input type.
source§impl From<&ICoreWebView2Frame5> for &ICoreWebView2Frame4
impl From<&ICoreWebView2Frame5> for &ICoreWebView2Frame4
source§fn from(value: &ICoreWebView2Frame5) -> Self
fn from(value: &ICoreWebView2Frame5) -> Self
Converts to this type from the input type.
source§impl From<ICoreWebView2Frame4> for ICoreWebView2Frame
impl From<ICoreWebView2Frame4> for ICoreWebView2Frame
source§fn from(value: ICoreWebView2Frame4) -> Self
fn from(value: ICoreWebView2Frame4) -> Self
Converts to this type from the input type.
source§impl From<ICoreWebView2Frame4> for ICoreWebView2Frame2
impl From<ICoreWebView2Frame4> for ICoreWebView2Frame2
source§fn from(value: ICoreWebView2Frame4) -> Self
fn from(value: ICoreWebView2Frame4) -> Self
Converts to this type from the input type.
source§impl From<ICoreWebView2Frame4> for ICoreWebView2Frame3
impl From<ICoreWebView2Frame4> for ICoreWebView2Frame3
source§fn from(value: ICoreWebView2Frame4) -> Self
fn from(value: ICoreWebView2Frame4) -> Self
Converts to this type from the input type.
source§impl From<ICoreWebView2Frame4> for IUnknown
impl From<ICoreWebView2Frame4> for IUnknown
source§fn from(value: ICoreWebView2Frame4) -> Self
fn from(value: ICoreWebView2Frame4) -> Self
Converts to this type from the input type.
source§impl From<ICoreWebView2Frame5> for ICoreWebView2Frame4
impl From<ICoreWebView2Frame5> for ICoreWebView2Frame4
source§fn from(value: ICoreWebView2Frame5) -> Self
fn from(value: ICoreWebView2Frame5) -> Self
Converts to this type from the input type.
source§impl Interface for ICoreWebView2Frame4
impl Interface for ICoreWebView2Frame4
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§impl PartialEq for ICoreWebView2Frame4
impl PartialEq for ICoreWebView2Frame4
source§fn eq(&self, other: &ICoreWebView2Frame4) -> bool
fn eq(&self, other: &ICoreWebView2Frame4) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ICoreWebView2Frame4
impl StructuralPartialEq for ICoreWebView2Frame4
Auto Trait Implementations§
impl RefUnwindSafe for ICoreWebView2Frame4
impl !Send for ICoreWebView2Frame4
impl !Sync for ICoreWebView2Frame4
impl Unpin for ICoreWebView2Frame4
impl UnwindSafe for ICoreWebView2Frame4
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