Module id_tree

Source
Expand description

Internal, arena-based storage for Dom nodes

Structs§

Ancestors
An iterator of references to the ancestors a given node.
AzChildren
Special iterator for using NodeDataContainerRef instead of NodeHierarchy
AzReverseChildren
Special iterator for using NodeDataContainerRef instead of NodeHierarchy
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.
FollowingSiblings
An iterator of references to the siblings after a given node.
LinearIterator
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).
NodeDataContainer
NodeDataContainerRef
NodeDataContainerRefMut
NodeHierarchy
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.
NodeHierarchyRef
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.
NodeHierarchyRefMut
NodeId
A node identifier within a particular Arena.
PrecedingSiblings
An iterator of references to the siblings before a given node.
ReverseChildren
An iterator of references to the children of a given node, in reverse order.
ReverseTraverse
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.

Enums§

NodeEdge

Constants§

ROOT_NODE

Type Aliases§

NodeDepths