Expand description
Tree nodes, the representation of SVG elements.
Librsvg uses the rctree crate to represent the SVG tree of elements.
Its rctree::Node struct provides a generic wrapper over nodes in a tree.
Librsvg puts a NodeData as the type parameter of rctree::Node. For convenience,
librsvg has a type alias Node = rctree::Node<NodeData>.
Nodes are not constructed directly by callers;
Structs§
- Cascaded
Values - Can obtain computed values from a node
Enums§
- Cascaded
Inner 🔒 - Node
Data - Data for a single DOM node.
Traits§
- Node
Borrow - Helper trait to get different NodeData variants
- Node
Cascade - Helper trait for cascading recursively
- Node
Draw - Helper trait for drawing recursively.