Type Definition html5ever_arena_dom::Ref

source ·
pub type Ref<'arena> = &'arena Node<'arena>;
Expand description

A (serializable) reference to a node in the HTML to render.

Trait Implementations§

source§

impl<'arena> Serialize for Ref<'arena>

source§

fn serialize<S>( &self, serializer: &mut S, traversal_scope: TraversalScope ) -> Result<()>where S: Serializer,

Take the serializer and call its methods to serialize this type. The type will dictate which methods are called and with what parameters.