Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2DownloadOperation
source · [−]#[repr(transparent)]pub struct ICoreWebView2DownloadOperation(_);
Implementations
sourceimpl ICoreWebView2DownloadOperation
impl ICoreWebView2DownloadOperation
pub unsafe fn BytesReceivedChanged<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2BytesReceivedChangedEventHandler>,
pub unsafe fn RemoveBytesReceivedChanged<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn EstimatedEndTimeChanged<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2EstimatedEndTimeChangedEventHandler>,
pub unsafe fn RemoveEstimatedEndTimeChanged<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn StateChanged<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2StateChangedEventHandler>,
pub unsafe fn RemoveStateChanged<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
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 i32) -> Result<(), Error>
pub unsafe fn InterruptReason(
&self,
interruptreason: *mut i32
) -> 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
sourceimpl Clone for ICoreWebView2DownloadOperation
impl Clone for ICoreWebView2DownloadOperation
sourcepub fn clone(&self) -> ICoreWebView2DownloadOperation
pub fn clone(&self) -> ICoreWebView2DownloadOperation
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 Interface for ICoreWebView2DownloadOperation
impl Interface for ICoreWebView2DownloadOperation
type Vtable = ICoreWebView2DownloadOperationVtbl
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
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