Module blart::visitor

source ·
Expand description

Utilities for inspecting the trie structure.

Structs

  • A visitor of the radix trie that will print the tree in “dot” notation.
  • Settings which customize the output of the DotPrinter visitor.
  • A portion of an entire key that should uniquely identify each node in the tree.
  • Collection of stats about the number of nodes types present in a tree
  • A visitor of the radix tree which collects statistics about the tree, like how many inner nodes of each type, how many leaves
  • A visitor of the radix tree which checks that the tree is well-formed.

Enums

Traits

  • The Visitable trait allows Visitors to traverse the structure of the implementing type and produce some output.
  • The Visitor trait allows creating new operations on the radix tree by overriding specific handling methods for each of the node types.