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