pub struct ICoreWebView2WebResourceResponse(/* private fields */);
Implementations§
Source§impl ICoreWebView2WebResourceResponse
impl ICoreWebView2WebResourceResponse
pub unsafe fn get_Content(&self) -> Result<IStream>
pub unsafe fn put_Content<'a>( &self, content: impl IntoParam<'a, IStream>, ) -> Result<()>
pub unsafe fn get_Headers(&self) -> Result<ICoreWebView2HttpResponseHeaders>
pub unsafe fn get_StatusCode(&self, statuscode: *mut i32) -> Result<()>
pub unsafe fn put_StatusCode(&self, statuscode: i32) -> Result<()>
pub unsafe fn get_ReasonPhrase(&self, reasonphrase: *mut PWSTR) -> Result<()>
pub unsafe fn put_ReasonPhrase<'a>( &self, reasonphrase: impl IntoParam<'a, PWSTR>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for ICoreWebView2WebResourceResponse
impl Clone for ICoreWebView2WebResourceResponse
Source§fn clone(&self) -> ICoreWebView2WebResourceResponse
fn clone(&self) -> ICoreWebView2WebResourceResponse
Returns a copy 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<&ICoreWebView2WebResourceResponse> for IUnknown
impl From<&ICoreWebView2WebResourceResponse> for IUnknown
Source§fn from(value: &ICoreWebView2WebResourceResponse) -> Self
fn from(value: &ICoreWebView2WebResourceResponse) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2WebResourceResponse> for IUnknown
impl From<ICoreWebView2WebResourceResponse> for IUnknown
Source§fn from(value: ICoreWebView2WebResourceResponse) -> Self
fn from(value: ICoreWebView2WebResourceResponse) -> Self
Converts to this type from the input type.
Source§impl Interface for ICoreWebView2WebResourceResponse
impl Interface for ICoreWebView2WebResourceResponse
const IID: Guid
type Vtable = ICoreWebView2WebResourceResponse_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for ICoreWebView2WebResourceResponse
impl PartialEq for ICoreWebView2WebResourceResponse
Source§fn eq(&self, other: &ICoreWebView2WebResourceResponse) -> bool
fn eq(&self, other: &ICoreWebView2WebResourceResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for ICoreWebView2WebResourceResponse
impl StructuralPartialEq for ICoreWebView2WebResourceResponse
Auto Trait Implementations§
impl Freeze for ICoreWebView2WebResourceResponse
impl RefUnwindSafe for ICoreWebView2WebResourceResponse
impl !Send for ICoreWebView2WebResourceResponse
impl !Sync for ICoreWebView2WebResourceResponse
impl Unpin for ICoreWebView2WebResourceResponse
impl UnwindSafe for ICoreWebView2WebResourceResponse
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.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.
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