Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2Frame2
source · [−]#[repr(transparent)]pub struct ICoreWebView2Frame2(_);
Implementations
sourceimpl ICoreWebView2Frame2
impl ICoreWebView2Frame2
pub unsafe fn Name(&self, name: *mut PWSTR) -> Result<()>
pub unsafe fn add_NameChanged<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()>where
P0: Into<InParam<'a, ICoreWebView2FrameNameChangedEventHandler>>,
pub unsafe fn remove_NameChanged(
&self,
token: EventRegistrationToken
) -> Result<()>
pub unsafe fn AddHostObjectToScriptWithOrigins<'a, P0>(
&self,
name: P0,
object: *mut VARIANT,
originscount: u32,
origins: *mut PWSTR
) -> Result<()>where
P0: Into<PCWSTR>,
pub unsafe fn RemoveHostObjectFromScript<'a, P0>(&self, name: P0) -> Result<()>where
P0: Into<PCWSTR>,
pub unsafe fn add_Destroyed<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()>where
P0: Into<InParam<'a, ICoreWebView2FrameDestroyedEventHandler>>,
pub unsafe fn remove_Destroyed(
&self,
token: EventRegistrationToken
) -> Result<()>
pub unsafe fn IsDestroyed(&self, destroyed: *mut BOOL) -> Result<()>
pub unsafe fn add_ContentLoading<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()>where
P0: Into<InParam<'a, ICoreWebView2FrameContentLoadingEventHandler>>,
pub unsafe fn remove_ContentLoading(
&self,
token: EventRegistrationToken
) -> Result<()>
pub unsafe fn add_DOMContentLoaded<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<()>where
P0: Into<InParam<'a, ICoreWebView2FrameDOMContentLoadedEventHandler>>,
pub unsafe fn remove_DOMContentLoaded(
&self,
token: EventRegistrationToken
) -> Result<()>
pub unsafe fn ExecuteScript<'a, P0, P1>(
&self,
javascript: P0,
handler: P1
) -> Result<()>where
P0: Into<PCWSTR>,
P1: Into<InParam<'a, ICoreWebView2ExecuteScriptCompletedHandler>>,
pub unsafe fn PostWebMessageAsJson<'a, P0>(
&self,
webmessageasjson: P0
) -> Result<()>where
P0: Into<PCWSTR>,
pub unsafe fn PostWebMessageAsString<'a, P0>(
&self,
webmessageasstring: P0
) -> Result<()>where
P0: Into<PCWSTR>,
pub unsafe fn add_WebMessageReceived<'a, P0>(
&self,
handler: P0,
token: *mut EventRegistrationToken
) -> Result<()>where
P0: Into<InParam<'a, ICoreWebView2FrameWebMessageReceivedEventHandler>>,
pub unsafe fn remove_WebMessageReceived(
&self,
token: EventRegistrationToken
) -> Result<()>
Trait Implementations
sourceimpl Clone for ICoreWebView2Frame2
impl Clone for ICoreWebView2Frame2
sourceimpl Debug for ICoreWebView2Frame2
impl Debug for ICoreWebView2Frame2
sourceimpl From<&ICoreWebView2Frame2> for &ICoreWebView2Frame
impl From<&ICoreWebView2Frame2> for &ICoreWebView2Frame
sourcefn from(value: &ICoreWebView2Frame2) -> Self
fn from(value: &ICoreWebView2Frame2) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2Frame2> for &IUnknown
impl From<&ICoreWebView2Frame2> for &IUnknown
sourcefn from(value: &ICoreWebView2Frame2) -> Self
fn from(value: &ICoreWebView2Frame2) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2Frame2> for ICoreWebView2Frame
impl From<&ICoreWebView2Frame2> for ICoreWebView2Frame
sourcefn from(value: &ICoreWebView2Frame2) -> Self
fn from(value: &ICoreWebView2Frame2) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2Frame2> for IUnknown
impl From<&ICoreWebView2Frame2> for IUnknown
sourcefn from(value: &ICoreWebView2Frame2) -> Self
fn from(value: &ICoreWebView2Frame2) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2Frame3> for &ICoreWebView2Frame2
impl From<&ICoreWebView2Frame3> for &ICoreWebView2Frame2
sourcefn from(value: &ICoreWebView2Frame3) -> Self
fn from(value: &ICoreWebView2Frame3) -> Self
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2Frame3> for ICoreWebView2Frame2
impl From<&ICoreWebView2Frame3> for ICoreWebView2Frame2
sourcefn from(value: &ICoreWebView2Frame3) -> Self
fn from(value: &ICoreWebView2Frame3) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Frame2> for ICoreWebView2Frame
impl From<ICoreWebView2Frame2> for ICoreWebView2Frame
sourcefn from(value: ICoreWebView2Frame2) -> Self
fn from(value: ICoreWebView2Frame2) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Frame2> for IUnknown
impl From<ICoreWebView2Frame2> for IUnknown
sourcefn from(value: ICoreWebView2Frame2) -> Self
fn from(value: ICoreWebView2Frame2) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Frame3> for ICoreWebView2Frame2
impl From<ICoreWebView2Frame3> for ICoreWebView2Frame2
sourcefn from(value: ICoreWebView2Frame3) -> Self
fn from(value: ICoreWebView2Frame3) -> Self
Converts to this type from the input type.
sourceimpl Interface for ICoreWebView2Frame2
impl Interface for ICoreWebView2Frame2
sourceimpl PartialEq<ICoreWebView2Frame2> for ICoreWebView2Frame2
impl PartialEq<ICoreWebView2Frame2> for ICoreWebView2Frame2
sourceimpl RuntimeName for ICoreWebView2Frame2
impl RuntimeName for ICoreWebView2Frame2
sourceimpl Vtable for ICoreWebView2Frame2
impl Vtable for ICoreWebView2Frame2
type Vtable = ICoreWebView2Frame2_Vtbl
sourcefn 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.sourcefn 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.
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more