flat-tree

crates.io version build status downloads docs.rs docs

Rust version of mafintosh/flat-tree. Map a binary tree to a list.

Usage

```rust extern crate flat_tree;

let parent = flat_tree::parent(0); println!("parent of 0 is {}", parent); ```

License

MIT OR Apache-2.0