Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2Frame
source · #[repr(transparent)]pub struct ICoreWebView2Frame(_);
Implementations§
source§impl ICoreWebView2Frame
impl ICoreWebView2Frame
pub unsafe fn Name(&self, name: *mut PWSTR) -> Result<()>
pub unsafe fn add_NameChanged<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: Into<InParam<ICoreWebView2FrameNameChangedEventHandler>>,
pub unsafe fn remove_NameChanged( &self, token: EventRegistrationToken ) -> Result<()>
pub unsafe fn AddHostObjectToScriptWithOrigins<P0>( &self, name: P0, object: *mut VARIANT, originscount: u32, origins: *mut PWSTR ) -> Result<()>where P0: Into<InParam<PCWSTR>>,
pub unsafe fn RemoveHostObjectFromScript<P0>(&self, name: P0) -> Result<()>where P0: Into<InParam<PCWSTR>>,
pub unsafe fn add_Destroyed<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<()>where P0: Into<InParam<ICoreWebView2FrameDestroyedEventHandler>>,
pub unsafe fn remove_Destroyed( &self, token: EventRegistrationToken ) -> Result<()>
pub unsafe fn IsDestroyed(&self, destroyed: *mut BOOL) -> Result<()>
Trait Implementations§
source§impl Clone for ICoreWebView2Frame
impl Clone for ICoreWebView2Frame
source§impl Debug for ICoreWebView2Frame
impl Debug for ICoreWebView2Frame
source§impl From<&ICoreWebView2Frame> for &IUnknown
impl From<&ICoreWebView2Frame> for &IUnknown
source§fn from(value: &ICoreWebView2Frame) -> Self
fn from(value: &ICoreWebView2Frame) -> Self
Converts to this type from the input type.
source§impl From<&ICoreWebView2Frame> for IUnknown
impl From<&ICoreWebView2Frame> for IUnknown
source§fn from(value: &ICoreWebView2Frame) -> Self
fn from(value: &ICoreWebView2Frame) -> Self
Converts to this type from the input type.
source§impl From<&ICoreWebView2Frame2> for &ICoreWebView2Frame
impl From<&ICoreWebView2Frame2> for &ICoreWebView2Frame
source§fn from(value: &ICoreWebView2Frame2) -> Self
fn from(value: &ICoreWebView2Frame2) -> Self
Converts to this type from the input type.
source§impl From<&ICoreWebView2Frame2> for ICoreWebView2Frame
impl From<&ICoreWebView2Frame2> for ICoreWebView2Frame
source§fn from(value: &ICoreWebView2Frame2) -> Self
fn from(value: &ICoreWebView2Frame2) -> Self
Converts to this type from the input type.
source§impl From<&ICoreWebView2Frame3> for &ICoreWebView2Frame
impl From<&ICoreWebView2Frame3> for &ICoreWebView2Frame
source§fn from(value: &ICoreWebView2Frame3) -> Self
fn from(value: &ICoreWebView2Frame3) -> Self
Converts to this type from the input type.
source§impl From<&ICoreWebView2Frame3> for ICoreWebView2Frame
impl From<&ICoreWebView2Frame3> for ICoreWebView2Frame
source§fn from(value: &ICoreWebView2Frame3) -> Self
fn from(value: &ICoreWebView2Frame3) -> Self
Converts to this type from the input type.
source§impl From<ICoreWebView2Frame> for IUnknown
impl From<ICoreWebView2Frame> for IUnknown
source§fn from(value: ICoreWebView2Frame) -> Self
fn from(value: ICoreWebView2Frame) -> Self
Converts to this type from the input type.
source§impl From<ICoreWebView2Frame2> for ICoreWebView2Frame
impl From<ICoreWebView2Frame2> for ICoreWebView2Frame
source§fn from(value: ICoreWebView2Frame2) -> Self
fn from(value: ICoreWebView2Frame2) -> Self
Converts to this type from the input type.
source§impl From<ICoreWebView2Frame3> for ICoreWebView2Frame
impl From<ICoreWebView2Frame3> for ICoreWebView2Frame
source§fn from(value: ICoreWebView2Frame3) -> Self
fn from(value: ICoreWebView2Frame3) -> Self
Converts to this type from the input type.
source§impl Interface for ICoreWebView2Frame
impl Interface for ICoreWebView2Frame
source§impl PartialEq<ICoreWebView2Frame> for ICoreWebView2Frame
impl PartialEq<ICoreWebView2Frame> for ICoreWebView2Frame
source§impl RuntimeName for ICoreWebView2Frame
impl RuntimeName for ICoreWebView2Frame
source§impl Vtable for ICoreWebView2Frame
impl Vtable for ICoreWebView2Frame
type Vtable = ICoreWebView2Frame_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.