Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2Frame3
source · pub struct ICoreWebView2Frame3(_);Implementations§
source§impl ICoreWebView2Frame3
impl ICoreWebView2Frame3
pub unsafe fn Name(&self, name: *mut PWSTR) -> Result<(), Error>
pub unsafe fn add_NameChanged<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<(), Error>where P0: Into<InParam<ICoreWebView2FrameNameChangedEventHandler>>,
pub unsafe fn remove_NameChanged( &self, token: EventRegistrationToken ) -> Result<(), Error>
pub unsafe fn AddHostObjectToScriptWithOrigins<P0>( &self, name: P0, object: *mut VARIANT, originscount: u32, origins: *mut PWSTR ) -> Result<(), Error>where P0: Into<InParam<PCWSTR>>,
pub unsafe fn RemoveHostObjectFromScript<P0>( &self, name: P0 ) -> Result<(), Error>where P0: Into<InParam<PCWSTR>>,
pub unsafe fn add_Destroyed<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<(), Error>where P0: Into<InParam<ICoreWebView2FrameDestroyedEventHandler>>,
pub unsafe fn remove_Destroyed( &self, token: EventRegistrationToken ) -> Result<(), Error>
pub unsafe fn IsDestroyed(&self, destroyed: *mut BOOL) -> Result<(), Error>
pub unsafe fn add_ContentLoading<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<(), Error>where P0: Into<InParam<ICoreWebView2FrameContentLoadingEventHandler>>,
pub unsafe fn remove_ContentLoading( &self, token: EventRegistrationToken ) -> Result<(), Error>
pub unsafe fn add_DOMContentLoaded<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<(), Error>where P0: Into<InParam<ICoreWebView2FrameDOMContentLoadedEventHandler>>,
pub unsafe fn remove_DOMContentLoaded( &self, token: EventRegistrationToken ) -> Result<(), Error>
pub unsafe fn ExecuteScript<P0, P1>( &self, javascript: P0, handler: P1 ) -> Result<(), Error>where P0: Into<InParam<PCWSTR>>, P1: Into<InParam<ICoreWebView2ExecuteScriptCompletedHandler>>,
pub unsafe fn PostWebMessageAsJson<P0>( &self, webmessageasjson: P0 ) -> Result<(), Error>where P0: Into<InParam<PCWSTR>>,
pub unsafe fn PostWebMessageAsString<P0>( &self, webmessageasstring: P0 ) -> Result<(), Error>where P0: Into<InParam<PCWSTR>>,
pub unsafe fn add_WebMessageReceived<P0>( &self, handler: P0, token: *mut EventRegistrationToken ) -> Result<(), Error>where P0: Into<InParam<ICoreWebView2FrameWebMessageReceivedEventHandler>>,
pub unsafe fn remove_WebMessageReceived( &self, token: EventRegistrationToken ) -> Result<(), Error>
pub unsafe fn add_PermissionRequested<P0>( &self, handler: P0, token: *mut EventRegistrationToken ) -> Result<(), Error>where P0: Into<InParam<ICoreWebView2FramePermissionRequestedEventHandler>>,
pub unsafe fn remove_PermissionRequested( &self, token: EventRegistrationToken ) -> Result<(), Error>
Trait Implementations§
source§impl Clone for ICoreWebView2Frame3
impl Clone for ICoreWebView2Frame3
source§fn clone(&self) -> ICoreWebView2Frame3
fn clone(&self) -> ICoreWebView2Frame3
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 ICoreWebView2Frame3
impl Debug for ICoreWebView2Frame3
source§impl From<&ICoreWebView2Frame3> for &ICoreWebView2Frame
impl From<&ICoreWebView2Frame3> for &ICoreWebView2Frame
source§fn from(value: &ICoreWebView2Frame3) -> &ICoreWebView2Frame
fn from(value: &ICoreWebView2Frame3) -> &ICoreWebView2Frame
Converts to this type from the input type.
source§impl From<&ICoreWebView2Frame3> for &ICoreWebView2Frame2
impl From<&ICoreWebView2Frame3> for &ICoreWebView2Frame2
source§fn from(value: &ICoreWebView2Frame3) -> &ICoreWebView2Frame2
fn from(value: &ICoreWebView2Frame3) -> &ICoreWebView2Frame2
Converts to this type from the input type.
source§impl From<&ICoreWebView2Frame3> for ICoreWebView2Frame
impl From<&ICoreWebView2Frame3> for ICoreWebView2Frame
source§fn from(value: &ICoreWebView2Frame3) -> ICoreWebView2Frame
fn from(value: &ICoreWebView2Frame3) -> ICoreWebView2Frame
Converts to this type from the input type.
source§impl From<&ICoreWebView2Frame3> for ICoreWebView2Frame2
impl From<&ICoreWebView2Frame3> for ICoreWebView2Frame2
source§fn from(value: &ICoreWebView2Frame3) -> ICoreWebView2Frame2
fn from(value: &ICoreWebView2Frame3) -> ICoreWebView2Frame2
Converts to this type from the input type.
source§impl From<ICoreWebView2Frame3> for ICoreWebView2Frame
impl From<ICoreWebView2Frame3> for ICoreWebView2Frame
source§fn from(value: ICoreWebView2Frame3) -> ICoreWebView2Frame
fn from(value: ICoreWebView2Frame3) -> ICoreWebView2Frame
Converts to this type from the input type.
source§impl From<ICoreWebView2Frame3> for ICoreWebView2Frame2
impl From<ICoreWebView2Frame3> for ICoreWebView2Frame2
source§fn from(value: ICoreWebView2Frame3) -> ICoreWebView2Frame2
fn from(value: ICoreWebView2Frame3) -> ICoreWebView2Frame2
Converts to this type from the input type.
source§impl Interface for ICoreWebView2Frame3
impl Interface for ICoreWebView2Frame3
source§const IID: GUID = ::windows::core::GUID::from_u128(240660420035207992974335772353086482080)
const IID: GUID = ::windows::core::GUID::from_u128(240660420035207992974335772353086482080)
A unique identifier representing this interface.
source§impl PartialEq<ICoreWebView2Frame3> for ICoreWebView2Frame3
impl PartialEq<ICoreWebView2Frame3> for ICoreWebView2Frame3
source§fn eq(&self, other: &ICoreWebView2Frame3) -> bool
fn eq(&self, other: &ICoreWebView2Frame3) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RuntimeName for ICoreWebView2Frame3
impl RuntimeName for ICoreWebView2Frame3
source§impl Vtable for ICoreWebView2Frame3
impl Vtable for ICoreWebView2Frame3
type Vtable = ICoreWebView2Frame3_Vtbl
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.