Trait typed_html::dom::Node

source ·
pub trait Node<T: OutputType>: Display {
    fn vnode(&mut self) -> VNode<'_, T>;
}
Expand description

Trait for rendering a typed HTML node.

All HTML elements implement this, in addition to TextNode.

It implements Display for rendering to strings, and the vnode() method can be used to render a virtual DOM structure.

Required Methods

Render the node into a VNode tree.

Trait Implementations

The type of the elements being iterated over.
Which kind of iterator are we turning this into?
Creates an iterator from a value. Read more

Implementors