Module node

Source
Expand description

The core DOM types. Defines the basic DOM hierarchy as well as all the HTML elements.

StructsΒ§

BindContext πŸ”’
The context of the binding to tree of a node.
ElementTypeIdWrapper πŸ”’
FollowingNodeIterator πŸ”’
Node
An HTML node.
NodeFlags πŸ”’
Flags for node items
NodeTypeIdWrapper πŸ”’
PrecedingNodeIterator πŸ”’
QuerySelectorIterator πŸ”’
SimpleNodeIterator πŸ”’
TreeIterator πŸ”’
UnbindContext πŸ”’
The context of the unbinding from a tree of a node when one of its inclusive ancestors is removed.
UniqueId πŸ”’
A node’s unique ID, for devtools.

EnumsΒ§

ChildrenMutation πŸ”’
CloneChildrenFlag πŸ”’
Specifies whether children must be recursively cloned or not.
NodeDamage πŸ”’
A summary of the changes that happened to a node.
ShadowIncluding πŸ”’
Whether a tree traversal should pass shadow tree boundaries.
SuppressObserver πŸ”’
suppress observers flag https://dom.spec.whatwg.org/#concept-node-insert https://dom.spec.whatwg.org/#concept-node-remove

ConstantsΒ§

_IMPL_DOMOBJECT_FOR_Node πŸ”’

TraitsΒ§

LayoutNodeHelpers πŸ”’
NodeTraits πŸ”’
VecPreOrderInsertionHelper πŸ”’
Helper trait to insert an element into vector whose elements are maintained in tree order

FunctionsΒ§

as_uintptr πŸ”’
first_node_not_in πŸ”’
Iterate through nodes until we find a Node that is not in not_in
from_untrusted_node_address πŸ”’ ⚠
If the given untrusted node address represents a valid DOM node in the given runtime, returns it.