#[repr(C)]pub struct _cef_domvisitor_t {
pub base: cef_base_ref_counted_t,
pub visit: Option<unsafe extern "C" fn(self_: *mut _cef_domvisitor_t, document: *mut _cef_domdocument_t)>,
}Expand description
Structure to implement for visiting the DOM. The functions of this structure will be called on the render process main 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_domvisitor_t, document: *mut _cef_domdocument_t)>Method executed for visiting the DOM. The document object passed to this function represents a snapshot of the DOM at the time this function is executed. DOM objects are only valid for the scope of this function. Do not keep references to or attempt to access any DOM objects outside the scope of this function.
Trait Implementations§
Source§impl Clone for _cef_domvisitor_t
impl Clone for _cef_domvisitor_t
Source§fn clone(&self) -> _cef_domvisitor_t
fn clone(&self) -> _cef_domvisitor_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 moreSource§impl Debug for _cef_domvisitor_t
impl Debug for _cef_domvisitor_t
impl Copy for _cef_domvisitor_t
Auto Trait Implementations§
impl Freeze for _cef_domvisitor_t
impl RefUnwindSafe for _cef_domvisitor_t
impl Send for _cef_domvisitor_t
impl Sync for _cef_domvisitor_t
impl Unpin for _cef_domvisitor_t
impl UnwindSafe for _cef_domvisitor_t
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