pub struct ICoreWebView2Cookie(/* private fields */);
Implementations§
Source§impl ICoreWebView2Cookie
impl ICoreWebView2Cookie
pub unsafe fn get_Name(&self, name: *mut PWSTR) -> Result<()>
pub unsafe fn get_Value(&self, value: *mut PWSTR) -> Result<()>
pub unsafe fn put_Value<'a>( &self, value: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn get_Domain(&self, domain: *mut PWSTR) -> Result<()>
pub unsafe fn get_Path(&self, path: *mut PWSTR) -> Result<()>
pub unsafe fn get_Expires(&self, expires: *mut f64) -> Result<()>
pub unsafe fn put_Expires(&self, expires: f64) -> Result<()>
pub unsafe fn get_IsHttpOnly(&self, ishttponly: *mut BOOL) -> Result<()>
pub unsafe fn put_IsHttpOnly<'a>( &self, ishttponly: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn get_SameSite( &self, samesite: *mut COREWEBVIEW2_COOKIE_SAME_SITE_KIND, ) -> Result<()>
pub unsafe fn put_SameSite( &self, samesite: COREWEBVIEW2_COOKIE_SAME_SITE_KIND, ) -> Result<()>
pub unsafe fn get_IsSecure(&self, issecure: *mut BOOL) -> Result<()>
pub unsafe fn put_IsSecure<'a>( &self, issecure: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn get_IsSession(&self, issession: *mut BOOL) -> Result<()>
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 Debug for ICoreWebView2Cookie
impl Debug for ICoreWebView2Cookie
Source§impl From<&ICoreWebView2Cookie> for IUnknown
impl From<&ICoreWebView2Cookie> for IUnknown
Source§fn from(value: &ICoreWebView2Cookie) -> Self
fn from(value: &ICoreWebView2Cookie) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2Cookie> for IUnknown
impl From<ICoreWebView2Cookie> for IUnknown
Source§fn from(value: ICoreWebView2Cookie) -> Self
fn from(value: ICoreWebView2Cookie) -> Self
Converts to this type from the input type.
Source§impl Interface for ICoreWebView2Cookie
impl Interface for ICoreWebView2Cookie
const IID: Guid
type Vtable = ICoreWebView2Cookie_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 ICoreWebView2Cookie
impl PartialEq for ICoreWebView2Cookie
impl Eq for ICoreWebView2Cookie
impl StructuralPartialEq for ICoreWebView2Cookie
Auto Trait Implementations§
impl Freeze for ICoreWebView2Cookie
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> 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