pub struct CoreWebView2CookieManager(/* private fields */);
Implementations§
Source§impl CoreWebView2CookieManager
impl CoreWebView2CookieManager
pub fn CreateCookie<'a, T0__: IntoParam<'a, HString>, T1__: IntoParam<'a, HString>, T2__: IntoParam<'a, HString>, T3__: IntoParam<'a, HString>>( &self, name: T0__, value: T1__, domain: T2__, path: T3__, ) -> Result<CoreWebView2Cookie>
pub fn CopyCookie<'a, T0__: IntoParam<'a, CoreWebView2Cookie>>( &self, cookieparam: T0__, ) -> Result<CoreWebView2Cookie>
pub fn AddOrUpdateCookie<'a, T0__: IntoParam<'a, CoreWebView2Cookie>>( &self, cookie: T0__, ) -> Result<()>
pub fn DeleteCookie<'a, T0__: IntoParam<'a, CoreWebView2Cookie>>( &self, cookie: T0__, ) -> Result<()>
pub fn DeleteCookies<'a, T0__: IntoParam<'a, HString>, T1__: IntoParam<'a, HString>>( &self, name: T0__, uri: T1__, ) -> Result<()>
pub fn DeleteCookiesWithDomainAndPath<'a, T0__: IntoParam<'a, HString>, T1__: IntoParam<'a, HString>, T2__: IntoParam<'a, HString>>( &self, name: T0__, domain: T1__, path: T2__, ) -> Result<()>
pub fn DeleteAllCookies(&self) -> Result<()>
Trait Implementations§
Source§impl Clone for CoreWebView2CookieManager
impl Clone for CoreWebView2CookieManager
Source§fn clone(&self) -> CoreWebView2CookieManager
fn clone(&self) -> CoreWebView2CookieManager
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 Debug for CoreWebView2CookieManager
impl Debug for CoreWebView2CookieManager
Source§impl From<&CoreWebView2CookieManager> for Object
impl From<&CoreWebView2CookieManager> for Object
Source§fn from(value: &CoreWebView2CookieManager) -> Self
fn from(value: &CoreWebView2CookieManager) -> Self
Converts to this type from the input type.
Source§impl From<CoreWebView2CookieManager> for Object
impl From<CoreWebView2CookieManager> for Object
Source§fn from(value: CoreWebView2CookieManager) -> Self
fn from(value: CoreWebView2CookieManager) -> Self
Converts to this type from the input type.
Source§impl Interface for CoreWebView2CookieManager
impl Interface for CoreWebView2CookieManager
const IID: Guid
type Vtable = ICoreWebView2CookieManager_abi
Source§impl<'a> IntoParam<'a, Object> for &'a CoreWebView2CookieManager
impl<'a> IntoParam<'a, Object> for &'a CoreWebView2CookieManager
fn into_param(self) -> Param<'a, Object>
Source§impl<'a> IntoParam<'a, Object> for CoreWebView2CookieManager
impl<'a> IntoParam<'a, Object> for CoreWebView2CookieManager
fn into_param(self) -> Param<'a, Object>
impl Eq for CoreWebView2CookieManager
impl Send for CoreWebView2CookieManager
impl StructuralPartialEq for CoreWebView2CookieManager
impl Sync for CoreWebView2CookieManager
Auto Trait Implementations§
impl Freeze for CoreWebView2CookieManager
impl RefUnwindSafe for CoreWebView2CookieManager
impl Unpin for CoreWebView2CookieManager
impl UnwindSafe for CoreWebView2CookieManager
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