[][src]Module rsvg_internals::node

Tree nodes, the representation of SVG elements.

Librsvg uses the rctree crate to represent the SVG tree of elements. Its Node struct provides a generic wrapper over nodes in a tree. Librsvg puts a NodeData as the type parameter of Node. For convenience, librsvg has a type alias Node = 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 Definitions

Node

Strong reference to an element in the SVG tree.

WeakNode

Weak reference to an element in the SVG tree.