Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2Cookie
source · #[repr(transparent)]pub struct ICoreWebView2Cookie(_);
Implementations§
source§impl ICoreWebView2Cookie
impl ICoreWebView2Cookie
pub unsafe fn Name(&self, name: *mut PWSTR) -> Result<(), Error>
pub unsafe fn Value(&self, value: *mut PWSTR) -> Result<(), Error>
pub unsafe fn SetValue<P0>(&self, value: P0) -> Result<(), Error>where P0: IntoParam<PCWSTR, <PCWSTR as TypeKind>::TypeKind>,
pub unsafe fn Domain(&self, domain: *mut PWSTR) -> Result<(), Error>
pub unsafe fn Path(&self, path: *mut PWSTR) -> Result<(), Error>
pub unsafe fn Expires(&self, expires: *mut f64) -> Result<(), Error>
pub unsafe fn SetExpires(&self, expires: f64) -> Result<(), Error>
pub unsafe fn IsHttpOnly(&self, ishttponly: *mut BOOL) -> Result<(), Error>
pub unsafe fn SetIsHttpOnly<P0>(&self, ishttponly: P0) -> Result<(), Error>where P0: IntoParam<BOOL, <BOOL as TypeKind>::TypeKind>,
pub unsafe fn SameSite( &self, samesite: *mut COREWEBVIEW2_COOKIE_SAME_SITE_KIND ) -> Result<(), Error>
pub unsafe fn SetSameSite( &self, samesite: COREWEBVIEW2_COOKIE_SAME_SITE_KIND ) -> Result<(), Error>
pub unsafe fn IsSecure(&self, issecure: *mut BOOL) -> Result<(), Error>
pub unsafe fn SetIsSecure<P0>(&self, issecure: P0) -> Result<(), Error>where P0: IntoParam<BOOL, <BOOL as TypeKind>::TypeKind>,
pub unsafe fn IsSession(&self, issession: *mut BOOL) -> Result<(), Error>
Trait Implementations§
source§impl Clone for ICoreWebView2Cookie
impl Clone for ICoreWebView2Cookie
source§fn clone(&self) -> ICoreWebView2Cookie
fn clone(&self) -> ICoreWebView2Cookie
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 ComInterface for ICoreWebView2Cookie
impl ComInterface for ICoreWebView2Cookie
source§const IID: GUID = ::windows::core::GUID::from_u128(230158106046772845541299576395411147297)
const IID: GUID = ::windows::core::GUID::from_u128(230158106046772845541299576395411147297)
A unique identifier representing this interface.
source§impl Debug for ICoreWebView2Cookie
impl Debug for ICoreWebView2Cookie
source§impl Interface for ICoreWebView2Cookie
impl Interface for ICoreWebView2Cookie
type Vtable = ICoreWebView2Cookie_Vtbl
source§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.source§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
source§impl PartialEq<ICoreWebView2Cookie> for ICoreWebView2Cookie
impl PartialEq<ICoreWebView2Cookie> for ICoreWebView2Cookie
source§fn eq(&self, other: &ICoreWebView2Cookie) -> bool
fn eq(&self, other: &ICoreWebView2Cookie) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ICoreWebView2Cookie
Auto Trait Implementations§
impl RefUnwindSafe for ICoreWebView2Cookie
impl !Send for ICoreWebView2Cookie
impl !Sync for ICoreWebView2Cookie
impl Unpin for ICoreWebView2Cookie
impl UnwindSafe for ICoreWebView2Cookie
Blanket Implementations§
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