Module compt::bfs_order

source ·
Expand description

A complete binary tree stored in a Vec laid out in bfs order.

Structs

Complete binary tree stored in BFS order. Height is atleast 1.
Contains of a Complete tree. Internally uses a Vec.
Error indicating the vec that was passed is not a size that you would expect for the given height.
Tree visitor that returns a mutable reference to each element in the tree. Tree visitor that returns a mutable reference to each element in the tree.
Tree visitor that returns a mutable reference to each element in the tree.