Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2DownloadOperation
source · #[repr(transparent)]pub struct ICoreWebView2DownloadOperation(_);
Implementations§
source§impl ICoreWebView2DownloadOperation
impl ICoreWebView2DownloadOperation
pub unsafe fn add_BytesReceivedChanged<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<(), Error>where P0: IntoParam<ICoreWebView2BytesReceivedChangedEventHandler, <ICoreWebView2BytesReceivedChangedEventHandler as TypeKind>::TypeKind>,
pub unsafe fn remove_BytesReceivedChanged( &self, token: EventRegistrationToken ) -> Result<(), Error>
pub unsafe fn add_EstimatedEndTimeChanged<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<(), Error>where P0: IntoParam<ICoreWebView2EstimatedEndTimeChangedEventHandler, <ICoreWebView2EstimatedEndTimeChangedEventHandler as TypeKind>::TypeKind>,
pub unsafe fn remove_EstimatedEndTimeChanged( &self, token: EventRegistrationToken ) -> Result<(), Error>
pub unsafe fn add_StateChanged<P0>( &self, eventhandler: P0, token: *mut EventRegistrationToken ) -> Result<(), Error>where P0: IntoParam<ICoreWebView2StateChangedEventHandler, <ICoreWebView2StateChangedEventHandler as TypeKind>::TypeKind>,
pub unsafe fn remove_StateChanged( &self, token: EventRegistrationToken ) -> Result<(), Error>
pub unsafe fn Uri(&self, uri: *mut PWSTR) -> Result<(), Error>
pub unsafe fn ContentDisposition( &self, contentdisposition: *mut PWSTR ) -> Result<(), Error>
pub unsafe fn MimeType(&self, mimetype: *mut PWSTR) -> Result<(), Error>
pub unsafe fn TotalBytesToReceive( &self, totalbytestoreceive: *mut i64 ) -> Result<(), Error>
pub unsafe fn BytesReceived(&self, bytesreceived: *mut i64) -> Result<(), Error>
pub unsafe fn EstimatedEndTime( &self, estimatedendtime: *mut PWSTR ) -> Result<(), Error>
pub unsafe fn ResultFilePath( &self, resultfilepath: *mut PWSTR ) -> Result<(), Error>
pub unsafe fn State( &self, downloadstate: *mut COREWEBVIEW2_DOWNLOAD_STATE ) -> Result<(), Error>
pub unsafe fn InterruptReason( &self, interruptreason: *mut COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON ) -> Result<(), Error>
pub unsafe fn Cancel(&self) -> Result<(), Error>
pub unsafe fn Pause(&self) -> Result<(), Error>
pub unsafe fn Resume(&self) -> Result<(), Error>
pub unsafe fn CanResume(&self, canresume: *mut BOOL) -> Result<(), Error>
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 ComInterface for ICoreWebView2DownloadOperation
impl ComInterface for ICoreWebView2DownloadOperation
source§const IID: GUID = ::windows::core::GUID::from_u128(81640693234627827467951953335850976054)
const IID: GUID = ::windows::core::GUID::from_u128(81640693234627827467951953335850976054)
A unique identifier representing this interface.
source§impl Interface for ICoreWebView2DownloadOperation
impl Interface for ICoreWebView2DownloadOperation
type Vtable = ICoreWebView2DownloadOperation_Vtbl
source§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.source§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
source§impl PartialEq<ICoreWebView2DownloadOperation> for ICoreWebView2DownloadOperation
impl PartialEq<ICoreWebView2DownloadOperation> for ICoreWebView2DownloadOperation
source§fn eq(&self, other: &ICoreWebView2DownloadOperation) -> bool
fn eq(&self, other: &ICoreWebView2DownloadOperation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ICoreWebView2DownloadOperation
Auto Trait Implementations§
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> 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