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

Trait ICoreWebView2DownloadStartingEventArgs_Impl

Source
pub trait ICoreWebView2DownloadStartingEventArgs_Impl: IUnknownImpl {
    // Required methods
    fn DownloadOperation(&self) -> Result<ICoreWebView2DownloadOperation, Error>;
    fn Cancel(&self, cancel: *mut BOOL) -> Result<(), Error>;
    fn SetCancel(&self, cancel: BOOL) -> Result<(), Error>;
    fn ResultFilePath(&self, resultfilepath: *mut PWSTR) -> Result<(), Error>;
    fn SetResultFilePath(&self, resultfilepath: &PCWSTR) -> Result<(), Error>;
    fn Handled(&self, handled: *mut BOOL) -> Result<(), Error>;
    fn SetHandled(&self, handled: BOOL) -> Result<(), Error>;
    fn GetDeferral(&self) -> Result<ICoreWebView2Deferral, Error>;
}

Required Methods§

Source

fn DownloadOperation(&self) -> Result<ICoreWebView2DownloadOperation, Error>

Source

fn Cancel(&self, cancel: *mut BOOL) -> Result<(), Error>

Source

fn SetCancel(&self, cancel: BOOL) -> Result<(), Error>

Source

fn ResultFilePath(&self, resultfilepath: *mut PWSTR) -> Result<(), Error>

Source

fn SetResultFilePath(&self, resultfilepath: &PCWSTR) -> Result<(), Error>

Source

fn Handled(&self, handled: *mut BOOL) -> Result<(), Error>

Source

fn SetHandled(&self, handled: BOOL) -> Result<(), Error>

Source

fn GetDeferral(&self) -> Result<ICoreWebView2Deferral, Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§