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<'a> From<&'a ICoreWebView2Frame2> for &'a ICoreWebView2Frame
impl<'a> From<&'a ICoreWebView2Frame2> for &'a ICoreWebView2Frame
sourcefn from(value: &'a ICoreWebView2Frame2) -> Self
fn from(value: &'a ICoreWebView2Frame2) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ICoreWebView2Frame2> for &'a IUnknown
impl<'a> From<&'a ICoreWebView2Frame2> for &'a IUnknown
sourcefn from(value: &'a ICoreWebView2Frame2) -> Self
fn from(value: &'a ICoreWebView2Frame2) -> Self
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) -> Self
fn from(value: &'a 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 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
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