Skip to main content

Module storage

Module storage 

Source

StructsΒ§

AttributeStorage πŸ”’
Storage for an element’s attributes. Contains an internal DomRefCell so that ensure_dom can split its borrow around Attr::new() allocation, preventing GC-during-allocation panics from double-borrowing.
AttributesBorrow πŸ”’
A borrowed view of attribute storage that provides convenient access to attributes as AttrRef items.
ContentAttributeData πŸ”’
Lightweight attribute storage that avoids allocating a full DOM Attr node.

EnumsΒ§

AttrRef πŸ”’
A reference to attribute data, either from a lightweight ContentAttributeData or from a full Attr DOM node. Provides the same accessor interface regardless of storage form.
AttrValueRef πŸ”’
A reference to an attribute value, abstracting over direct and RefCell-borrowed access.
AttributeEntry πŸ”’
A single attribute entry, either lightweight raw data or a full DOM Attr node.