Crates.io | truetree |
lib.rs | truetree |
version | 0.1.3 |
source | src |
created_at | 2020-12-08 04:32:25.054814 |
updated_at | 2020-12-08 21:22:46.413339 |
description | Trees in Rust |
homepage | |
repository | |
max_upload_size | |
id | 320699 |
size | 70,540 |
This is a balanced tree implementation (also called as AVL tree)
We allow you to define a custom type T to pass a the tree payload
This payload should have the clone, ord, eq and debug trait derived
The Ord trait is used to insert the values and to get it (this allow to match only partial payload)
The Eq trait is used to remove a node
The Clone trait is used to copy the value inside the tree