Expand description
Internal, arena-based storage for Dom nodes
Structs§
- Ancestors
- An iterator of references to the ancestors a given node.
- Arena
- Children
- An iterator of references to the children of a given node.
- Descendants
- An iterator of references to a given node and its descendants, in tree order.
- Following
Siblings - An iterator of references to the siblings after a given node.
- Linear
Iterator - An linear iterator, does not respect the DOM in any way, it just iterates over the nodes like a Vec
- Node
- Hierarchical information about a node (stores the indicies of the parent / child nodes).
- Node
Data Container - Node
Hierarchy - The hierarchy of nodes is stored separately from the actual node content in order to save on memory, since the hierarchy can be re-used across several DOM trees even if the content changes.
- NodeId
- A node identifier within a particular
Arena
. - Preceding
Siblings - An iterator of references to the siblings before a given node.
- Reverse
Children - An iterator of references to the children of a given node, in reverse order.
- Reverse
Traverse - An iterator of references to a given node and its descendants, in reverse tree order.
- Traverse
- An iterator of references to a given node and its descendants, in tree order.