Enum layout2d::rctree::NodeEdge
[−]
[src]
pub enum NodeEdge<T> { Start(NodeRef<T>), End(NodeRef<T>), }
Variants
Start(NodeRef<T>)
Indicates that start of a node that has children.
Yielded by Traverse::next
before the node’s descendants.
In HTML or XML, this corresponds to an opening tag like <div>
End(NodeRef<T>)
Indicates that end of a node that has children.
Yielded by Traverse::next
after the node’s descendants.
In HTML or XML, this corresponds to a closing tag like </div>