Struct webview2_com::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<(), Error>
pub unsafe fn add_NameChanged<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
P0: Into<InParam<'a, 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<PCWSTR>,
pub unsafe fn RemoveHostObjectFromScript<P0>(
&self,
name: P0
) -> Result<(), Error> where
P0: Into<PCWSTR>,
pub unsafe fn add_Destroyed<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
P0: Into<InParam<'a, 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<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
P0: Into<InParam<'a, ICoreWebView2FrameContentLoadingEventHandler>>,
pub unsafe fn remove_ContentLoading(
&self,
token: EventRegistrationToken
) -> Result<(), Error>
pub unsafe fn add_DOMContentLoaded<'a, P0>(
&self,
eventhandler: P0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
P0: Into<InParam<'a, ICoreWebView2FrameDOMContentLoadedEventHandler>>,
pub unsafe fn remove_DOMContentLoaded(
&self,
token: EventRegistrationToken
) -> Result<(), Error>
pub unsafe fn ExecuteScript<'a, P0, P1>(
&self,
javascript: P0,
handler: P1
) -> Result<(), Error> where
P0: Into<PCWSTR>,
P1: Into<InParam<'a, ICoreWebView2ExecuteScriptCompletedHandler>>,
pub unsafe fn PostWebMessageAsJson<P0>(
&self,
webmessageasjson: P0
) -> Result<(), Error> where
P0: Into<PCWSTR>,
pub unsafe fn PostWebMessageAsString<P0>(
&self,
webmessageasstring: P0
) -> Result<(), Error> where
P0: Into<PCWSTR>,
pub unsafe fn add_WebMessageReceived<'a, P0>(
&self,
handler: P0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
P0: Into<InParam<'a, ICoreWebView2FrameWebMessageReceivedEventHandler>>,
pub unsafe fn remove_WebMessageReceived(
&self,
token: EventRegistrationToken
) -> Result<(), Error>
Trait Implementations
sourceimpl Clone for ICoreWebView2Frame2
impl Clone for ICoreWebView2Frame2
sourcefn clone(&self) -> ICoreWebView2Frame2
fn clone(&self) -> ICoreWebView2Frame2
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ICoreWebView2Frame2
impl Debug for ICoreWebView2Frame2
sourceimpl<'a> From<&'a ICoreWebView2Frame2> for &'a ICoreWebView2Frame
impl<'a> From<&'a ICoreWebView2Frame2> for &'a ICoreWebView2Frame
sourcefn from(value: &'a ICoreWebView2Frame2) -> &'a ICoreWebView2Frame
fn from(value: &'a ICoreWebView2Frame2) -> &'a ICoreWebView2Frame
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2Frame3> for &'a ICoreWebView2Frame2
impl<'a> From<&'a ICoreWebView2Frame3> for &'a ICoreWebView2Frame2
sourcefn from(value: &'a ICoreWebView2Frame3) -> &'a ICoreWebView2Frame2
fn from(value: &'a ICoreWebView2Frame3) -> &'a ICoreWebView2Frame2
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2Frame2> for ICoreWebView2Frame
impl From<&ICoreWebView2Frame2> for ICoreWebView2Frame
sourcefn from(value: &ICoreWebView2Frame2) -> ICoreWebView2Frame
fn from(value: &ICoreWebView2Frame2) -> ICoreWebView2Frame
Converts to this type from the input type.
sourceimpl From<&ICoreWebView2Frame3> for ICoreWebView2Frame2
impl From<&ICoreWebView2Frame3> for ICoreWebView2Frame2
sourcefn from(value: &ICoreWebView2Frame3) -> ICoreWebView2Frame2
fn from(value: &ICoreWebView2Frame3) -> ICoreWebView2Frame2
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Frame2> for ICoreWebView2Frame
impl From<ICoreWebView2Frame2> for ICoreWebView2Frame
sourcefn from(value: ICoreWebView2Frame2) -> ICoreWebView2Frame
fn from(value: ICoreWebView2Frame2) -> ICoreWebView2Frame
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Frame3> for ICoreWebView2Frame2
impl From<ICoreWebView2Frame3> for ICoreWebView2Frame2
sourcefn from(value: ICoreWebView2Frame3) -> ICoreWebView2Frame2
fn from(value: ICoreWebView2Frame3) -> ICoreWebView2Frame2
Converts to this type from the input type.
sourceimpl Interface for ICoreWebView2Frame2
impl Interface for ICoreWebView2Frame2
sourceconst IID: GUID = ::windows::core::GUID::from_u128(162717987989517521656981017343726520276)
const IID: GUID = ::windows::core::GUID::from_u128(162717987989517521656981017343726520276)
A unique identifier representing this interface.
sourceimpl PartialEq<ICoreWebView2Frame2> for ICoreWebView2Frame2
impl PartialEq<ICoreWebView2Frame2> for ICoreWebView2Frame2
sourcefn 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 ==
. Read more
sourceimpl RuntimeName for ICoreWebView2Frame2
impl RuntimeName for ICoreWebView2Frame2
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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