pub struct ICoreWebView2HttpRequestHeaders(/* private fields */);
Implementations§
Source§impl ICoreWebView2HttpRequestHeaders
impl ICoreWebView2HttpRequestHeaders
pub unsafe fn GetHeader<'a>( &self, name: impl IntoParam<'a, PWSTR>, value: *mut PWSTR, ) -> Result<()>
pub unsafe fn GetHeaders<'a>( &self, name: impl IntoParam<'a, PWSTR>, ) -> Result<ICoreWebView2HttpHeadersCollectionIterator>
pub unsafe fn Contains<'a>( &self, name: impl IntoParam<'a, PWSTR>, contains: *mut BOOL, ) -> Result<()>
pub unsafe fn SetHeader<'a>( &self, name: impl IntoParam<'a, PWSTR>, value: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn RemoveHeader<'a>( &self, name: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn GetIterator( &self, ) -> Result<ICoreWebView2HttpHeadersCollectionIterator>
Trait Implementations§
Source§impl Clone for ICoreWebView2HttpRequestHeaders
impl Clone for ICoreWebView2HttpRequestHeaders
Source§fn clone(&self) -> ICoreWebView2HttpRequestHeaders
fn clone(&self) -> ICoreWebView2HttpRequestHeaders
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<&ICoreWebView2HttpRequestHeaders> for IUnknown
impl From<&ICoreWebView2HttpRequestHeaders> for IUnknown
Source§fn from(value: &ICoreWebView2HttpRequestHeaders) -> Self
fn from(value: &ICoreWebView2HttpRequestHeaders) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2HttpRequestHeaders> for IUnknown
impl From<ICoreWebView2HttpRequestHeaders> for IUnknown
Source§fn from(value: ICoreWebView2HttpRequestHeaders) -> Self
fn from(value: ICoreWebView2HttpRequestHeaders) -> Self
Converts to this type from the input type.
Source§impl Interface for ICoreWebView2HttpRequestHeaders
impl Interface for ICoreWebView2HttpRequestHeaders
const IID: Guid
type Vtable = ICoreWebView2HttpRequestHeaders_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 ICoreWebView2HttpRequestHeaders
impl PartialEq for ICoreWebView2HttpRequestHeaders
Source§fn eq(&self, other: &ICoreWebView2HttpRequestHeaders) -> bool
fn eq(&self, other: &ICoreWebView2HttpRequestHeaders) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for ICoreWebView2HttpRequestHeaders
impl StructuralPartialEq for ICoreWebView2HttpRequestHeaders
Auto Trait Implementations§
impl Freeze for ICoreWebView2HttpRequestHeaders
impl RefUnwindSafe for ICoreWebView2HttpRequestHeaders
impl !Send for ICoreWebView2HttpRequestHeaders
impl !Sync for ICoreWebView2HttpRequestHeaders
impl Unpin for ICoreWebView2HttpRequestHeaders
impl UnwindSafe for ICoreWebView2HttpRequestHeaders
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