pub struct ICoreWebView2Frame(/* private fields */);
Implementations§
Source§impl ICoreWebView2Frame
impl ICoreWebView2Frame
pub unsafe fn get_Name(&self, name: *mut PWSTR) -> Result<()>
pub unsafe fn add_NameChanged<'a>( &self, eventhandler: impl IntoParam<'a, ICoreWebView2FrameNameChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>
pub unsafe fn remove_NameChanged<'a>( &self, token: impl IntoParam<'a, EventRegistrationToken>, ) -> Result<()>
pub unsafe fn AddHostObjectToScriptWithOrigins<'a>( &self, name: impl IntoParam<'a, PWSTR>, object: *mut VARIANT, originscount: u32, origins: *mut PWSTR, ) -> Result<()>
pub unsafe fn RemoveHostObjectFromScript<'a>( &self, name: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn add_Destroyed<'a>( &self, eventhandler: impl IntoParam<'a, ICoreWebView2FrameDestroyedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>
pub unsafe fn remove_Destroyed<'a>( &self, token: impl IntoParam<'a, EventRegistrationToken>, ) -> Result<()>
pub unsafe fn IsDestroyed(&self, destroyed: *mut BOOL) -> Result<()>
Trait Implementations§
Source§impl Clone for ICoreWebView2Frame
impl Clone for ICoreWebView2Frame
Source§fn clone(&self) -> ICoreWebView2Frame
fn clone(&self) -> ICoreWebView2Frame
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ICoreWebView2Frame
impl Debug for ICoreWebView2Frame
Source§impl From<&ICoreWebView2Frame> for IUnknown
impl From<&ICoreWebView2Frame> for IUnknown
Source§fn from(value: &ICoreWebView2Frame) -> Self
fn from(value: &ICoreWebView2Frame) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Frame> for IUnknown
impl From<ICoreWebView2Frame> for IUnknown
Source§fn from(value: ICoreWebView2Frame) -> Self
fn from(value: ICoreWebView2Frame) -> Self
Converts to this type from the input type.
Source§impl Interface for ICoreWebView2Frame
impl Interface for ICoreWebView2Frame
const IID: Guid = _
type Vtable = ICoreWebView2Frame_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for ICoreWebView2Frame
impl PartialEq for ICoreWebView2Frame
impl Eq for ICoreWebView2Frame
impl StructuralPartialEq for ICoreWebView2Frame
Auto Trait Implementations§
impl Freeze for ICoreWebView2Frame
impl RefUnwindSafe for ICoreWebView2Frame
impl !Send for ICoreWebView2Frame
impl !Sync for ICoreWebView2Frame
impl Unpin for ICoreWebView2Frame
impl UnwindSafe for ICoreWebView2Frame
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more