Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2Frame
source · [−]#[repr(transparent)]pub struct ICoreWebView2Frame(_);
Implementations
sourceimpl ICoreWebView2Frame
impl ICoreWebView2Frame
pub unsafe fn Name(&self, name: *mut PWSTR) -> Result<(), Error>
pub unsafe fn NameChanged<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2FrameNameChangedEventHandler>,
pub unsafe fn RemoveNameChanged<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn AddHostObjectToScriptWithOrigins<'a, Param0>(
&self,
name: Param0,
object: *mut VARIANT,
originscount: u32,
origins: *mut PWSTR
) -> Result<(), Error> where
Param0: IntoParam<'a, PWSTR>,
pub unsafe fn RemoveHostObjectFromScript<'a, Param0>(
&self,
name: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, PWSTR>,
pub unsafe fn Destroyed<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2FrameDestroyedEventHandler>,
pub unsafe fn RemoveDestroyed<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn IsDestroyed(&self, destroyed: *mut BOOL) -> Result<(), Error>
Trait Implementations
sourceimpl Clone for ICoreWebView2Frame
impl Clone for ICoreWebView2Frame
sourcepub fn clone(&self) -> ICoreWebView2Frame
pub fn clone(&self) -> ICoreWebView2Frame
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 ICoreWebView2Frame
impl Debug for ICoreWebView2Frame
sourceimpl From<&'_ ICoreWebView2Frame2> for ICoreWebView2Frame
impl From<&'_ ICoreWebView2Frame2> for ICoreWebView2Frame
sourcepub fn from(value: &ICoreWebView2Frame2) -> ICoreWebView2Frame
pub fn from(value: &ICoreWebView2Frame2) -> ICoreWebView2Frame
Performs the conversion.
sourceimpl From<ICoreWebView2Frame2> for ICoreWebView2Frame
impl From<ICoreWebView2Frame2> for ICoreWebView2Frame
sourcepub fn from(value: ICoreWebView2Frame2) -> ICoreWebView2Frame
pub fn from(value: ICoreWebView2Frame2) -> ICoreWebView2Frame
Performs the conversion.
sourceimpl Interface for ICoreWebView2Frame
impl Interface for ICoreWebView2Frame
impl Eq for ICoreWebView2Frame
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2Frame
impl !Send for ICoreWebView2Frame
impl !Sync for ICoreWebView2Frame
impl Unpin for ICoreWebView2Frame
impl UnwindSafe for ICoreWebView2Frame
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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>
sourcepub unsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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