pub struct ICoreWebView2DownloadStartingEventHandler(/* private fields */);
Implementations§
Source§impl ICoreWebView2DownloadStartingEventHandler
impl ICoreWebView2DownloadStartingEventHandler
pub unsafe fn Invoke<'a>( &self, sender: impl IntoParam<'a, ICoreWebView2>, args: impl IntoParam<'a, ICoreWebView2DownloadStartingEventArgs>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for ICoreWebView2DownloadStartingEventHandler
impl Clone for ICoreWebView2DownloadStartingEventHandler
Source§fn clone(&self) -> ICoreWebView2DownloadStartingEventHandler
fn clone(&self) -> ICoreWebView2DownloadStartingEventHandler
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 From<&ICoreWebView2DownloadStartingEventHandler> for IUnknown
impl From<&ICoreWebView2DownloadStartingEventHandler> for IUnknown
Source§fn from(value: &ICoreWebView2DownloadStartingEventHandler) -> Self
fn from(value: &ICoreWebView2DownloadStartingEventHandler) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2DownloadStartingEventHandler> for IUnknown
impl From<ICoreWebView2DownloadStartingEventHandler> for IUnknown
Source§fn from(value: ICoreWebView2DownloadStartingEventHandler) -> Self
fn from(value: ICoreWebView2DownloadStartingEventHandler) -> Self
Converts to this type from the input type.
Source§impl Interface for ICoreWebView2DownloadStartingEventHandler
impl Interface for ICoreWebView2DownloadStartingEventHandler
const IID: Guid
type Vtable = ICoreWebView2DownloadStartingEventHandler_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 ICoreWebView2DownloadStartingEventHandler
impl PartialEq for ICoreWebView2DownloadStartingEventHandler
Source§fn eq(&self, other: &ICoreWebView2DownloadStartingEventHandler) -> bool
fn eq(&self, other: &ICoreWebView2DownloadStartingEventHandler) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for ICoreWebView2DownloadStartingEventHandler
impl StructuralPartialEq for ICoreWebView2DownloadStartingEventHandler
Auto Trait Implementations§
impl Freeze for ICoreWebView2DownloadStartingEventHandler
impl RefUnwindSafe for ICoreWebView2DownloadStartingEventHandler
impl !Send for ICoreWebView2DownloadStartingEventHandler
impl !Sync for ICoreWebView2DownloadStartingEventHandler
impl Unpin for ICoreWebView2DownloadStartingEventHandler
impl UnwindSafe for ICoreWebView2DownloadStartingEventHandler
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