Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2Frame3
source · [−]#[repr(transparent)]pub struct ICoreWebView2Frame3(_);
Implementations
sourceimpl ICoreWebView2Frame3
impl ICoreWebView2Frame3
pub unsafe fn Name(&self, name: *mut PWSTR) -> Result<()>
pub unsafe fn NameChanged<'a, Param0: IntoParam<'a, ICoreWebView2FrameNameChangedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveNameChanged<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn AddHostObjectToScriptWithOrigins<'a, Param0: IntoParam<'a, PWSTR>>(
&self,
name: Param0,
object: *mut VARIANT,
originscount: u32,
origins: *mut PWSTR
) -> Result<()>
pub unsafe fn RemoveHostObjectFromScript<'a, Param0: IntoParam<'a, PWSTR>>(
&self,
name: Param0
) -> Result<()>
pub unsafe fn Destroyed<'a, Param0: IntoParam<'a, ICoreWebView2FrameDestroyedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveDestroyed<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn IsDestroyed(&self, destroyed: *mut BOOL) -> Result<()>
pub unsafe fn ContentLoading<'a, Param0: IntoParam<'a, ICoreWebView2FrameContentLoadingEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveContentLoading<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn DOMContentLoaded<'a, Param0: IntoParam<'a, ICoreWebView2FrameDOMContentLoadedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveDOMContentLoaded<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn ExecuteScript<'a, Param0: IntoParam<'a, PWSTR>, Param1: IntoParam<'a, ICoreWebView2ExecuteScriptCompletedHandler>>(
&self,
javascript: Param0,
handler: Param1
) -> Result<()>
pub unsafe fn PostWebMessageAsJson<'a, Param0: IntoParam<'a, PWSTR>>(
&self,
webmessageasjson: Param0
) -> Result<()>
pub unsafe fn PostWebMessageAsString<'a, Param0: IntoParam<'a, PWSTR>>(
&self,
webmessageasstring: Param0
) -> Result<()>
pub unsafe fn WebMessageReceived<'a, Param0: IntoParam<'a, ICoreWebView2FrameWebMessageReceivedEventHandler>>(
&self,
handler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveWebMessageReceived<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn PermissionRequested<'a, Param0: IntoParam<'a, ICoreWebView2FramePermissionRequestedEventHandler>>(
&self,
handler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemovePermissionRequested<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
Trait Implementations
sourceimpl Clone for ICoreWebView2Frame3
impl Clone for ICoreWebView2Frame3
sourceimpl Debug for ICoreWebView2Frame3
impl Debug for ICoreWebView2Frame3
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 ICoreWebView2Frame
impl From<&'_ ICoreWebView2Frame3> for ICoreWebView2Frame
sourcefn from(value: &ICoreWebView2Frame3) -> Self
fn from(value: &ICoreWebView2Frame3) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2Frame3> for IUnknown
impl From<&'_ ICoreWebView2Frame3> for IUnknown
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<ICoreWebView2Frame3> for ICoreWebView2Frame
impl From<ICoreWebView2Frame3> for ICoreWebView2Frame
sourcefn from(value: ICoreWebView2Frame3) -> Self
fn from(value: ICoreWebView2Frame3) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2Frame3> for IUnknown
impl From<ICoreWebView2Frame3> for IUnknown
sourcefn from(value: ICoreWebView2Frame3) -> Self
fn from(value: ICoreWebView2Frame3) -> Self
Converts to this type from the input type.
sourceimpl Interface for ICoreWebView2Frame3
impl Interface for ICoreWebView2Frame3
impl Eq for ICoreWebView2Frame3
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2Frame3
impl !Send for ICoreWebView2Frame3
impl !Sync for ICoreWebView2Frame3
impl Unpin for ICoreWebView2Frame3
impl UnwindSafe for ICoreWebView2Frame3
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
sourceimpl<T> DefaultType for T where
T: Interface + Clone + PartialEq<T>,
impl<T> DefaultType for T where
T: Interface + Clone + PartialEq<T>,
type DefaultType = Option<T>
sourceunsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
unsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
Safety
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more