Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2Frame2
source · #[repr(transparent)]pub struct ICoreWebView2Frame2(_);
Implementations§
source§impl ICoreWebView2Frame2
impl ICoreWebView2Frame2
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: IntoParam<ICoreWebView2FrameNameChangedEventHandler, <ICoreWebView2FrameNameChangedEventHandler as TypeKind>::TypeKind>,
pub unsafe fn remove_NameChanged( &self, token: EventRegistrationToken ) -> Result<(), Error>
pub unsafe fn AddHostObjectToScriptWithOrigins<P0>( &self, name: P0, object: *mut VARIANT, originscount: u32, origins: *const PCWSTR ) -> Result<(), Error>where P0: IntoParam<PCWSTR, <PCWSTR as TypeKind>::TypeKind>,
pub unsafe fn RemoveHostObjectFromScript<P0>( &self, name: P0 ) -> Result<(), Error>where P0: IntoParam<PCWSTR, <PCWSTR as TypeKind>::TypeKind>,
pub unsafe fn add_Destroyed<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<(), Error>where P0: IntoParam<ICoreWebView2FrameDestroyedEventHandler, <ICoreWebView2FrameDestroyedEventHandler as TypeKind>::TypeKind>,
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: IntoParam<ICoreWebView2FrameContentLoadingEventHandler, <ICoreWebView2FrameContentLoadingEventHandler as TypeKind>::TypeKind>,
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: IntoParam<ICoreWebView2FrameDOMContentLoadedEventHandler, <ICoreWebView2FrameDOMContentLoadedEventHandler as TypeKind>::TypeKind>,
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: IntoParam<PCWSTR, <PCWSTR as TypeKind>::TypeKind>, P1: IntoParam<ICoreWebView2ExecuteScriptCompletedHandler, <ICoreWebView2ExecuteScriptCompletedHandler as TypeKind>::TypeKind>,
pub unsafe fn PostWebMessageAsJson<P0>( &self, webmessageasjson: P0 ) -> Result<(), Error>where P0: IntoParam<PCWSTR, <PCWSTR as TypeKind>::TypeKind>,
pub unsafe fn PostWebMessageAsString<P0>( &self, webmessageasstring: P0 ) -> Result<(), Error>where P0: IntoParam<PCWSTR, <PCWSTR as TypeKind>::TypeKind>,
pub unsafe fn add_WebMessageReceived<P0>( &self, handler: P0, token: *mut EventRegistrationToken ) -> Result<(), Error>where P0: IntoParam<ICoreWebView2FrameWebMessageReceivedEventHandler, <ICoreWebView2FrameWebMessageReceivedEventHandler as TypeKind>::TypeKind>,
pub unsafe fn remove_WebMessageReceived( &self, token: EventRegistrationToken ) -> Result<(), Error>
Trait Implementations§
source§impl Clone for ICoreWebView2Frame2
impl Clone for ICoreWebView2Frame2
source§fn clone(&self) -> ICoreWebView2Frame2
fn clone(&self) -> ICoreWebView2Frame2
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 ComInterface for ICoreWebView2Frame2
impl ComInterface for ICoreWebView2Frame2
source§const IID: GUID = ::windows::core::GUID::from_u128(162717987989517521656981017343726520276)
const IID: GUID = ::windows::core::GUID::from_u128(162717987989517521656981017343726520276)
A unique identifier representing this interface.
source§impl Debug for ICoreWebView2Frame2
impl Debug for ICoreWebView2Frame2
source§impl Interface for ICoreWebView2Frame2
impl Interface for ICoreWebView2Frame2
type Vtable = ICoreWebView2Frame2_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.
source§impl PartialEq<ICoreWebView2Frame2> for ICoreWebView2Frame2
impl PartialEq<ICoreWebView2Frame2> for ICoreWebView2Frame2
source§fn eq(&self, other: &ICoreWebView2Frame2) -> bool
fn eq(&self, other: &ICoreWebView2Frame2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ICoreWebView2Frame2
Auto Trait Implementations§
impl RefUnwindSafe for ICoreWebView2Frame2
impl !Send for ICoreWebView2Frame2
impl !Sync for ICoreWebView2Frame2
impl Unpin for ICoreWebView2Frame2
impl UnwindSafe for ICoreWebView2Frame2
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