3 releases

0.3.1-alpha3 Aug 13, 2020
0.3.1-alpha2 Apr 22, 2020
0.3.0-alpha1 Nov 15, 2019

#735 in GUI

Download history 15/week @ 2024-07-16 7/week @ 2024-07-23 50/week @ 2024-07-30 12/week @ 2024-08-06 7/week @ 2024-08-13 7/week @ 2024-08-20 5/week @ 2024-08-27 4/week @ 2024-09-17 31/week @ 2024-09-24 14/week @ 2024-10-01

109 downloads per month
Used in 2 crates (via orbtk-api)

MIT license

12KB
251 lines

orbtk-tree

Entity component system based tree entity container. It's part of OrbTk - The Rust UI-Toolkit.

Build and test MIT licensed

Dependencies

  • dces (MIT): Entity Component System

License

Licensed under MIT license (LICENSE).


lib.rs:

This crate provides a index (entity) based tree structure compatible to the DCES Entity Component System. The tree could be used as entity storage.

Example

Basic usage of the tree:


use orbtk_tree::prelude::*;

let mut tree = Tree::new();
tree.register_node(0);
tree.register_node(1);
tree.append_child(0, 1);

Dependencies

~175KB