pub trait Splitter: Sized {
    fn div(self) -> (Self, Self);
    fn add(self, b: Self) -> Self;
}
Expand description

A trait that gives the user callbacks at events in a recursive algorithm on the tree. The main motivation behind this trait was to track the time spent taken at each level of the tree during construction.

Required Methods

Called to split this into two to be passed to the children.

Called to add the results of the recursive calls on the children.

Implementors