pub struct CoreWebView2HttpResponseHeaders(/* private fields */);
Implementations§
Source§impl CoreWebView2HttpResponseHeaders
impl CoreWebView2HttpResponseHeaders
pub fn AppendHeader<'a, T0__: IntoParam<'a, HString>, T1__: IntoParam<'a, HString>>( &self, name: T0__, value: T1__, ) -> Result<()>
pub fn Contains<'a, T0__: IntoParam<'a, HString>>( &self, name: T0__, ) -> Result<bool>
pub fn GetHeader<'a, T0__: IntoParam<'a, HString>>( &self, name: T0__, ) -> Result<HString>
pub fn GetHeaders<'a, T0__: IntoParam<'a, HString>>( &self, name: T0__, ) -> Result<CoreWebView2HttpHeadersCollectionIterator>
pub fn First(&self) -> Result<IIterator<IKeyValuePair<HString, HString>>>
Trait Implementations§
Source§impl Clone for CoreWebView2HttpResponseHeaders
impl Clone for CoreWebView2HttpResponseHeaders
Source§fn clone(&self) -> CoreWebView2HttpResponseHeaders
fn clone(&self) -> CoreWebView2HttpResponseHeaders
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<&CoreWebView2HttpResponseHeaders> for IIterable<IKeyValuePair<HString, HString>>
impl From<&CoreWebView2HttpResponseHeaders> for IIterable<IKeyValuePair<HString, HString>>
Source§fn from(value: &CoreWebView2HttpResponseHeaders) -> Self
fn from(value: &CoreWebView2HttpResponseHeaders) -> Self
Converts to this type from the input type.
Source§impl From<&CoreWebView2HttpResponseHeaders> for Object
impl From<&CoreWebView2HttpResponseHeaders> for Object
Source§fn from(value: &CoreWebView2HttpResponseHeaders) -> Self
fn from(value: &CoreWebView2HttpResponseHeaders) -> Self
Converts to this type from the input type.
Source§impl From<CoreWebView2HttpResponseHeaders> for IIterable<IKeyValuePair<HString, HString>>
impl From<CoreWebView2HttpResponseHeaders> for IIterable<IKeyValuePair<HString, HString>>
Source§fn from(value: CoreWebView2HttpResponseHeaders) -> Self
fn from(value: CoreWebView2HttpResponseHeaders) -> Self
Converts to this type from the input type.
Source§impl From<CoreWebView2HttpResponseHeaders> for Object
impl From<CoreWebView2HttpResponseHeaders> for Object
Source§fn from(value: CoreWebView2HttpResponseHeaders) -> Self
fn from(value: CoreWebView2HttpResponseHeaders) -> Self
Converts to this type from the input type.
Source§impl Interface for CoreWebView2HttpResponseHeaders
impl Interface for CoreWebView2HttpResponseHeaders
const IID: Guid
type Vtable = ICoreWebView2HttpResponseHeaders_abi
Source§impl<'a> IntoIterator for &'a CoreWebView2HttpResponseHeaders
impl<'a> IntoIterator for &'a CoreWebView2HttpResponseHeaders
Source§type IntoIter = IIterator<<&'a CoreWebView2HttpResponseHeaders as IntoIterator>::Item>
type IntoIter = IIterator<<&'a CoreWebView2HttpResponseHeaders as IntoIterator>::Item>
Which kind of iterator are we turning this into?
Source§impl IntoIterator for CoreWebView2HttpResponseHeaders
impl IntoIterator for CoreWebView2HttpResponseHeaders
Source§type IntoIter = IIterator<<CoreWebView2HttpResponseHeaders as IntoIterator>::Item>
type IntoIter = IIterator<<CoreWebView2HttpResponseHeaders as IntoIterator>::Item>
Which kind of iterator are we turning this into?
Source§impl<'a> IntoParam<'a, IIterable<IKeyValuePair<HString, HString>>> for &'a CoreWebView2HttpResponseHeaders
impl<'a> IntoParam<'a, IIterable<IKeyValuePair<HString, HString>>> for &'a CoreWebView2HttpResponseHeaders
fn into_param(self) -> Param<'a, IIterable<IKeyValuePair<HString, HString>>>
Source§impl<'a> IntoParam<'a, IIterable<IKeyValuePair<HString, HString>>> for CoreWebView2HttpResponseHeaders
impl<'a> IntoParam<'a, IIterable<IKeyValuePair<HString, HString>>> for CoreWebView2HttpResponseHeaders
fn into_param(self) -> Param<'a, IIterable<IKeyValuePair<HString, HString>>>
Source§impl<'a> IntoParam<'a, Object> for &'a CoreWebView2HttpResponseHeaders
impl<'a> IntoParam<'a, Object> for &'a CoreWebView2HttpResponseHeaders
fn into_param(self) -> Param<'a, Object>
Source§impl<'a> IntoParam<'a, Object> for CoreWebView2HttpResponseHeaders
impl<'a> IntoParam<'a, Object> for CoreWebView2HttpResponseHeaders
fn into_param(self) -> Param<'a, Object>
Source§impl PartialEq for CoreWebView2HttpResponseHeaders
impl PartialEq for CoreWebView2HttpResponseHeaders
Source§fn eq(&self, other: &CoreWebView2HttpResponseHeaders) -> bool
fn eq(&self, other: &CoreWebView2HttpResponseHeaders) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for CoreWebView2HttpResponseHeaders
impl Send for CoreWebView2HttpResponseHeaders
impl StructuralPartialEq for CoreWebView2HttpResponseHeaders
impl Sync for CoreWebView2HttpResponseHeaders
Auto Trait Implementations§
impl Freeze for CoreWebView2HttpResponseHeaders
impl RefUnwindSafe for CoreWebView2HttpResponseHeaders
impl Unpin for CoreWebView2HttpResponseHeaders
impl UnwindSafe for CoreWebView2HttpResponseHeaders
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