#[repr(C)]pub struct _cef_navigation_entry_visitor_t {
pub base: cef_base_ref_counted_t,
pub visit: Option<unsafe extern "C" fn(self_: *mut _cef_navigation_entry_visitor_t, entry: *mut _cef_navigation_entry_t, current: c_int, index: c_int, total: c_int) -> c_int>,
}Expand description
Callback structure for cef_browser_host_t::GetNavigationEntries. The functions of this structure will be called on the browser process 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_navigation_entry_visitor_t, entry: *mut _cef_navigation_entry_t, current: c_int, index: c_int, total: c_int) -> c_int>Method that will be executed. Do not keep a reference to |entry| outside of this callback. Return true (1) to continue visiting entries or false (0) to stop. |current| is true (1) if this entry is the currently loaded navigation entry. |index| is the 0-based index of this entry and |total| is the total number of entries.
Trait Implementations§
Source§fn clone(&self) -> _cef_navigation_entry_visitor_t
fn clone(&self) -> _cef_navigation_entry_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