markup5ever::interface::tree_builder

Trait Tracer

Source
pub trait Tracer {
    type Handle;

    // Required method
    fn trace_handle(&self, node: &Self::Handle);
}
Expand description

Trace hooks for a garbage-collected DOM.

Required Associated Types§

Required Methods§

Source

fn trace_handle(&self, node: &Self::Handle)

Upon a call to trace_handles, the tree builder will call this method for each handle in its internal state.

Implementors§