#[repr(C)]pub struct _cef_cookie_visitor_t {
pub base: cef_base_ref_counted_t,
pub visit: Option<unsafe extern "C" fn(self_: *mut _cef_cookie_visitor_t, cookie: *const _cef_cookie_t, count: c_int, total: c_int, deleteCookie: *mut c_int) -> c_int>,
}Expand description
Structure to implement for visiting cookie values. The functions of this structure will always be called on the UI thread.
NOTE: This struct is allocated client-side.
Fields§
§base: cef_base_ref_counted_tBase structure.
visit: Option<unsafe extern "C" fn(self_: *mut _cef_cookie_visitor_t, cookie: *const _cef_cookie_t, count: c_int, total: c_int, deleteCookie: *mut c_int) -> c_int>Method that will be called once for each cookie. |count| is the 0-based index for the current cookie. |total| is the total number of cookies. Set |deleteCookie| to true (1) to delete the cookie currently being visited. Return false (0) to stop visiting cookies. This function may never be called if no cookies are found.
Trait Implementations§
Source§fn clone(&self) -> _cef_cookie_visitor_t
fn clone(&self) -> _cef_cookie_visitor_t
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 moreAuto Trait Implementations§
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