#[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§

source§

impl ICoreWebView2DownloadOperation_Vtbl

source

pub const fn new<Identity, const OFFSET: isize>() -> ICoreWebView2DownloadOperation_Vtbl
where Identity: ICoreWebView2DownloadOperation_Impl + IUnknownImpl,

source

pub fn matches(iid: &GUID) -> bool

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>,

§

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>,

§

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.