pub struct CoreWebView2WebResourceRequestedEventArgs(/* private fields */);
Implementations§
Source§impl CoreWebView2WebResourceRequestedEventArgs
impl CoreWebView2WebResourceRequestedEventArgs
pub fn Request(&self) -> Result<CoreWebView2WebResourceRequest>
pub fn Response(&self) -> Result<CoreWebView2WebResourceResponse>
pub fn SetResponse<'a, T0__: IntoParam<'a, CoreWebView2WebResourceResponse>>( &self, value: T0__, ) -> Result<()>
pub fn ResourceContext(&self) -> Result<CoreWebView2WebResourceContext>
pub fn GetDeferral(&self) -> Result<Deferral>
Trait Implementations§
Source§impl Clone for CoreWebView2WebResourceRequestedEventArgs
impl Clone for CoreWebView2WebResourceRequestedEventArgs
Source§fn clone(&self) -> CoreWebView2WebResourceRequestedEventArgs
fn clone(&self) -> CoreWebView2WebResourceRequestedEventArgs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<&CoreWebView2WebResourceRequestedEventArgs> for Object
impl From<&CoreWebView2WebResourceRequestedEventArgs> for Object
Source§fn from(value: &CoreWebView2WebResourceRequestedEventArgs) -> Self
fn from(value: &CoreWebView2WebResourceRequestedEventArgs) -> Self
Converts to this type from the input type.
Source§impl From<CoreWebView2WebResourceRequestedEventArgs> for Object
impl From<CoreWebView2WebResourceRequestedEventArgs> for Object
Source§fn from(value: CoreWebView2WebResourceRequestedEventArgs) -> Self
fn from(value: CoreWebView2WebResourceRequestedEventArgs) -> Self
Converts to this type from the input type.
Source§impl Interface for CoreWebView2WebResourceRequestedEventArgs
impl Interface for CoreWebView2WebResourceRequestedEventArgs
const IID: Guid
type Vtable = ICoreWebView2WebResourceRequestedEventArgs_abi
Source§impl<'a> IntoParam<'a, Object> for &'a CoreWebView2WebResourceRequestedEventArgs
impl<'a> IntoParam<'a, Object> for &'a CoreWebView2WebResourceRequestedEventArgs
fn into_param(self) -> Param<'a, Object>
Source§impl<'a> IntoParam<'a, Object> for CoreWebView2WebResourceRequestedEventArgs
impl<'a> IntoParam<'a, Object> for CoreWebView2WebResourceRequestedEventArgs
fn into_param(self) -> Param<'a, Object>
Source§impl PartialEq for CoreWebView2WebResourceRequestedEventArgs
impl PartialEq for CoreWebView2WebResourceRequestedEventArgs
Source§fn eq(&self, other: &CoreWebView2WebResourceRequestedEventArgs) -> bool
fn eq(&self, other: &CoreWebView2WebResourceRequestedEventArgs) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for CoreWebView2WebResourceRequestedEventArgs
impl Send for CoreWebView2WebResourceRequestedEventArgs
impl StructuralPartialEq for CoreWebView2WebResourceRequestedEventArgs
impl Sync for CoreWebView2WebResourceRequestedEventArgs
Auto Trait Implementations§
impl Freeze for CoreWebView2WebResourceRequestedEventArgs
impl RefUnwindSafe for CoreWebView2WebResourceRequestedEventArgs
impl Unpin for CoreWebView2WebResourceRequestedEventArgs
impl UnwindSafe for CoreWebView2WebResourceRequestedEventArgs
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more