Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2WebResourceRequestedEventArgs
source · #[repr(transparent)]pub struct ICoreWebView2WebResourceRequestedEventArgs(_);
Implementations§
source§impl ICoreWebView2WebResourceRequestedEventArgs
impl ICoreWebView2WebResourceRequestedEventArgs
pub unsafe fn Request(&self) -> Result<ICoreWebView2WebResourceRequest>
pub unsafe fn Response(&self) -> Result<ICoreWebView2WebResourceResponse>
pub unsafe fn SetResponse<P0>(&self, response: P0) -> Result<()>where P0: Into<InParam<ICoreWebView2WebResourceResponse>>,
pub unsafe fn GetDeferral(&self) -> Result<ICoreWebView2Deferral>
pub unsafe fn ResourceContext( &self, context: *mut COREWEBVIEW2_WEB_RESOURCE_CONTEXT ) -> Result<()>
Trait Implementations§
source§impl From<&ICoreWebView2WebResourceRequestedEventArgs> for &IUnknown
impl From<&ICoreWebView2WebResourceRequestedEventArgs> for &IUnknown
source§fn from(value: &ICoreWebView2WebResourceRequestedEventArgs) -> Self
fn from(value: &ICoreWebView2WebResourceRequestedEventArgs) -> Self
Converts to this type from the input type.
source§impl From<&ICoreWebView2WebResourceRequestedEventArgs> for IUnknown
impl From<&ICoreWebView2WebResourceRequestedEventArgs> for IUnknown
source§fn from(value: &ICoreWebView2WebResourceRequestedEventArgs) -> Self
fn from(value: &ICoreWebView2WebResourceRequestedEventArgs) -> Self
Converts to this type from the input type.
source§impl From<ICoreWebView2WebResourceRequestedEventArgs> for IUnknown
impl From<ICoreWebView2WebResourceRequestedEventArgs> for IUnknown
source§fn from(value: ICoreWebView2WebResourceRequestedEventArgs) -> Self
fn from(value: ICoreWebView2WebResourceRequestedEventArgs) -> Self
Converts to this type from the input type.
source§impl Interface for ICoreWebView2WebResourceRequestedEventArgs
impl Interface for ICoreWebView2WebResourceRequestedEventArgs
source§impl PartialEq<ICoreWebView2WebResourceRequestedEventArgs> for ICoreWebView2WebResourceRequestedEventArgs
impl PartialEq<ICoreWebView2WebResourceRequestedEventArgs> for ICoreWebView2WebResourceRequestedEventArgs
source§impl Vtable for ICoreWebView2WebResourceRequestedEventArgs
impl Vtable for ICoreWebView2WebResourceRequestedEventArgs
type Vtable = ICoreWebView2WebResourceRequestedEventArgs_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.