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.