Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2WebResourceRequestedEventArgs
source · [−]pub struct ICoreWebView2WebResourceRequestedEventArgs(_);Implementations
sourceimpl ICoreWebView2WebResourceRequestedEventArgs
impl ICoreWebView2WebResourceRequestedEventArgs
pub unsafe fn Request(&self) -> Result<ICoreWebView2WebResourceRequest, Error>
pub unsafe fn Response(&self) -> Result<ICoreWebView2WebResourceResponse, Error>
pub unsafe fn SetResponse<'a, P0>(&self, response: P0) -> Result<(), Error>where
P0: Into<InParam<'a, ICoreWebView2WebResourceResponse>>,
pub unsafe fn GetDeferral(&self) -> Result<ICoreWebView2Deferral, Error>
pub unsafe fn ResourceContext(
&self,
context: *mut COREWEBVIEW2_WEB_RESOURCE_CONTEXT
) -> Result<(), Error>
Trait Implementations
sourceimpl Clone for ICoreWebView2WebResourceRequestedEventArgs
impl Clone for ICoreWebView2WebResourceRequestedEventArgs
sourcefn clone(&self) -> ICoreWebView2WebResourceRequestedEventArgs
fn clone(&self) -> ICoreWebView2WebResourceRequestedEventArgs
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Interface for ICoreWebView2WebResourceRequestedEventArgs
impl Interface for ICoreWebView2WebResourceRequestedEventArgs
sourceimpl PartialEq<ICoreWebView2WebResourceRequestedEventArgs> for ICoreWebView2WebResourceRequestedEventArgs
impl PartialEq<ICoreWebView2WebResourceRequestedEventArgs> for ICoreWebView2WebResourceRequestedEventArgs
sourcefn eq(&self, other: &ICoreWebView2WebResourceRequestedEventArgs) -> bool
fn eq(&self, other: &ICoreWebView2WebResourceRequestedEventArgs) -> bool
sourceimpl Vtable for ICoreWebView2WebResourceRequestedEventArgs
impl Vtable for ICoreWebView2WebResourceRequestedEventArgs
type Vtable = ICoreWebView2WebResourceRequestedEventArgs_Vtbl
sourcefn 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.sourcefn 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.
impl Eq for ICoreWebView2WebResourceRequestedEventArgs
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2WebResourceRequestedEventArgs
impl !Send for ICoreWebView2WebResourceRequestedEventArgs
impl !Sync for ICoreWebView2WebResourceRequestedEventArgs
impl Unpin for ICoreWebView2WebResourceRequestedEventArgs
impl UnwindSafe for ICoreWebView2WebResourceRequestedEventArgs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more