Module node

Module node 

Source
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§

CascadedValues
Can obtain computed values from a node

Enums§

CascadedInner 🔒
NodeData
Data for a single DOM node.

Traits§

NodeBorrow
Helper trait to get different NodeData variants
NodeCascade
Helper trait for cascading recursively
NodeDraw
Helper trait for drawing recursively.

Type Aliases§

Node
Strong reference to an element in the SVG tree.
WeakNode
Weak reference to an element in the SVG tree.