Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2WebResourceRequestedEventArgs
source · [−]#[repr(transparent)]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, Param0>(
&self,
response: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2WebResourceResponse>,
pub unsafe fn GetDeferral(&self) -> Result<ICoreWebView2Deferral, Error>
pub unsafe fn ResourceContext(&self, context: *mut i32) -> Result<(), Error>
Trait Implementations
sourceimpl Clone for ICoreWebView2WebResourceRequestedEventArgs
impl Clone for ICoreWebView2WebResourceRequestedEventArgs
sourcepub fn clone(&self) -> ICoreWebView2WebResourceRequestedEventArgs
pub fn clone(&self) -> ICoreWebView2WebResourceRequestedEventArgs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Interface for ICoreWebView2WebResourceRequestedEventArgs
impl Interface for ICoreWebView2WebResourceRequestedEventArgs
type Vtable = ICoreWebView2WebResourceRequestedEventArgsVtbl
sourceimpl PartialEq<ICoreWebView2WebResourceRequestedEventArgs> for ICoreWebView2WebResourceRequestedEventArgs
impl PartialEq<ICoreWebView2WebResourceRequestedEventArgs> for ICoreWebView2WebResourceRequestedEventArgs
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> DefaultType for T where
T: Interface + Clone + PartialEq<T>,
impl<T> DefaultType for T where
T: Interface + Clone + PartialEq<T>,
type DefaultType = Option<T>
sourcepub unsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
pub unsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
Safety
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more