Function taffy::util::print_tree
source ยท pub fn print_tree(tree: &impl LayoutTree, root: NodeId)
Expand description
Prints a debug representation of the computed layout for a tree of nodes, starting with the passed root node.
pub fn print_tree(tree: &impl LayoutTree, root: NodeId)
Prints a debug representation of the computed layout for a tree of nodes, starting with the passed root node.