pub struct CoreWebView2WebResourceRequest(/* private fields */);
Implementations§
Source§impl CoreWebView2WebResourceRequest
impl CoreWebView2WebResourceRequest
pub fn Uri(&self) -> Result<HString>
pub fn SetUri<'a, T0__: IntoParam<'a, HString>>( &self, value: T0__, ) -> Result<()>
pub fn Method(&self) -> Result<HString>
pub fn SetMethod<'a, T0__: IntoParam<'a, HString>>( &self, value: T0__, ) -> Result<()>
pub fn Content(&self) -> Result<IRandomAccessStream>
pub fn SetContent<'a, T0__: IntoParam<'a, IRandomAccessStream>>( &self, value: T0__, ) -> Result<()>
pub fn Headers(&self) -> Result<CoreWebView2HttpRequestHeaders>
Trait Implementations§
Source§impl Clone for CoreWebView2WebResourceRequest
impl Clone for CoreWebView2WebResourceRequest
Source§fn clone(&self) -> CoreWebView2WebResourceRequest
fn clone(&self) -> CoreWebView2WebResourceRequest
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<&CoreWebView2WebResourceRequest> for Object
impl From<&CoreWebView2WebResourceRequest> for Object
Source§fn from(value: &CoreWebView2WebResourceRequest) -> Self
fn from(value: &CoreWebView2WebResourceRequest) -> Self
Converts to this type from the input type.
Source§impl From<CoreWebView2WebResourceRequest> for Object
impl From<CoreWebView2WebResourceRequest> for Object
Source§fn from(value: CoreWebView2WebResourceRequest) -> Self
fn from(value: CoreWebView2WebResourceRequest) -> Self
Converts to this type from the input type.
Source§impl Interface for CoreWebView2WebResourceRequest
impl Interface for CoreWebView2WebResourceRequest
const IID: Guid
type Vtable = ICoreWebView2WebResourceRequest_abi
Source§impl<'a> IntoParam<'a, Object> for &'a CoreWebView2WebResourceRequest
impl<'a> IntoParam<'a, Object> for &'a CoreWebView2WebResourceRequest
fn into_param(self) -> Param<'a, Object>
Source§impl<'a> IntoParam<'a, Object> for CoreWebView2WebResourceRequest
impl<'a> IntoParam<'a, Object> for CoreWebView2WebResourceRequest
fn into_param(self) -> Param<'a, Object>
Source§impl PartialEq for CoreWebView2WebResourceRequest
impl PartialEq for CoreWebView2WebResourceRequest
Source§fn eq(&self, other: &CoreWebView2WebResourceRequest) -> bool
fn eq(&self, other: &CoreWebView2WebResourceRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for CoreWebView2WebResourceRequest
impl Send for CoreWebView2WebResourceRequest
impl StructuralPartialEq for CoreWebView2WebResourceRequest
impl Sync for CoreWebView2WebResourceRequest
Auto Trait Implementations§
impl Freeze for CoreWebView2WebResourceRequest
impl RefUnwindSafe for CoreWebView2WebResourceRequest
impl Unpin for CoreWebView2WebResourceRequest
impl UnwindSafe for CoreWebView2WebResourceRequest
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