Function pretty_print

Source
pub fn pretty_print(title: &str, tree: &GenTree<Heading>)
Expand description

A wrapper for a recursive preorder(ish) traversal function; Contains logic to print [] on empty trees for more appealing presentation Takes a reference to the GenTree and pretty-prints its contents.