webview2_com::Microsoft::Web::WebView2::Win32

Struct ICoreWebView2DownloadOperation_Vtbl

Source
#[repr(C)]
pub struct ICoreWebView2DownloadOperation_Vtbl {
Show 20 fields pub base__: IUnknown_Vtbl, pub add_BytesReceivedChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub remove_BytesReceivedChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub add_EstimatedEndTimeChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub remove_EstimatedEndTimeChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub add_StateChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub remove_StateChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub Uri: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT, pub ContentDisposition: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT, pub MimeType: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT, pub TotalBytesToReceive: unsafe extern "system" fn(_: *mut c_void, _: *mut i64) -> HRESULT, pub BytesReceived: unsafe extern "system" fn(_: *mut c_void, _: *mut i64) -> HRESULT, pub EstimatedEndTime: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT, pub ResultFilePath: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT, pub State: unsafe extern "system" fn(_: *mut c_void, _: *mut COREWEBVIEW2_DOWNLOAD_STATE) -> HRESULT, pub InterruptReason: unsafe extern "system" fn(_: *mut c_void, _: *mut COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON) -> HRESULT, pub Cancel: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub Pause: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub Resume: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub CanResume: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§add_BytesReceivedChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§remove_BytesReceivedChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§add_EstimatedEndTimeChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§remove_EstimatedEndTimeChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§add_StateChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§remove_StateChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§Uri: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT§ContentDisposition: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT§MimeType: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT§TotalBytesToReceive: unsafe extern "system" fn(_: *mut c_void, _: *mut i64) -> HRESULT§BytesReceived: unsafe extern "system" fn(_: *mut c_void, _: *mut i64) -> HRESULT§EstimatedEndTime: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT§ResultFilePath: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT§State: unsafe extern "system" fn(_: *mut c_void, _: *mut COREWEBVIEW2_DOWNLOAD_STATE) -> HRESULT§InterruptReason: unsafe extern "system" fn(_: *mut c_void, _: *mut COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON) -> HRESULT§Cancel: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Pause: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Resume: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§CanResume: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT

Implementations§

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.