pub struct ICoreWebView2DownloadOperation(/* private fields */);
Implementations§
Source§impl ICoreWebView2DownloadOperation
impl ICoreWebView2DownloadOperation
pub unsafe fn add_BytesReceivedChanged<'a>( &self, eventhandler: impl IntoParam<'a, ICoreWebView2BytesReceivedChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>
pub unsafe fn remove_BytesReceivedChanged<'a>( &self, token: impl IntoParam<'a, EventRegistrationToken>, ) -> Result<()>
pub unsafe fn add_EstimatedEndTimeChanged<'a>( &self, eventhandler: impl IntoParam<'a, ICoreWebView2EstimatedEndTimeChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>
pub unsafe fn remove_EstimatedEndTimeChanged<'a>( &self, token: impl IntoParam<'a, EventRegistrationToken>, ) -> Result<()>
pub unsafe fn add_StateChanged<'a>( &self, eventhandler: impl IntoParam<'a, ICoreWebView2StateChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>
pub unsafe fn remove_StateChanged<'a>( &self, token: impl IntoParam<'a, EventRegistrationToken>, ) -> Result<()>
pub unsafe fn get_Uri(&self, uri: *mut PWSTR) -> Result<()>
pub unsafe fn get_ContentDisposition( &self, contentdisposition: *mut PWSTR, ) -> Result<()>
pub unsafe fn get_MimeType(&self, mimetype: *mut PWSTR) -> Result<()>
pub unsafe fn get_TotalBytesToReceive( &self, totalbytestoreceive: *mut i64, ) -> Result<()>
pub unsafe fn get_BytesReceived(&self, bytesreceived: *mut i64) -> Result<()>
pub unsafe fn get_EstimatedEndTime( &self, estimatedendtime: *mut PWSTR, ) -> Result<()>
pub unsafe fn get_ResultFilePath( &self, resultfilepath: *mut PWSTR, ) -> Result<()>
pub unsafe fn get_State( &self, downloadstate: *mut COREWEBVIEW2_DOWNLOAD_STATE, ) -> Result<()>
pub unsafe fn get_InterruptReason( &self, interruptreason: *mut COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON, ) -> Result<()>
pub unsafe fn Cancel(&self) -> Result<()>
pub unsafe fn Pause(&self) -> Result<()>
pub unsafe fn Resume(&self) -> Result<()>
pub unsafe fn get_CanResume(&self, canresume: *mut BOOL) -> Result<()>
Trait Implementations§
Source§impl Clone for ICoreWebView2DownloadOperation
impl Clone for ICoreWebView2DownloadOperation
Source§fn clone(&self) -> ICoreWebView2DownloadOperation
fn clone(&self) -> ICoreWebView2DownloadOperation
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<&ICoreWebView2DownloadOperation> for IUnknown
impl From<&ICoreWebView2DownloadOperation> for IUnknown
Source§fn from(value: &ICoreWebView2DownloadOperation) -> Self
fn from(value: &ICoreWebView2DownloadOperation) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2DownloadOperation> for IUnknown
impl From<ICoreWebView2DownloadOperation> for IUnknown
Source§fn from(value: ICoreWebView2DownloadOperation) -> Self
fn from(value: ICoreWebView2DownloadOperation) -> Self
Converts to this type from the input type.
Source§impl Interface for ICoreWebView2DownloadOperation
impl Interface for ICoreWebView2DownloadOperation
const IID: Guid
type Vtable = ICoreWebView2DownloadOperation_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 ICoreWebView2DownloadOperation
impl PartialEq for ICoreWebView2DownloadOperation
Source§fn eq(&self, other: &ICoreWebView2DownloadOperation) -> bool
fn eq(&self, other: &ICoreWebView2DownloadOperation) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for ICoreWebView2DownloadOperation
impl StructuralPartialEq for ICoreWebView2DownloadOperation
Auto Trait Implementations§
impl Freeze for ICoreWebView2DownloadOperation
impl RefUnwindSafe for ICoreWebView2DownloadOperation
impl !Send for ICoreWebView2DownloadOperation
impl !Sync for ICoreWebView2DownloadOperation
impl Unpin for ICoreWebView2DownloadOperation
impl UnwindSafe for ICoreWebView2DownloadOperation
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