3 releases

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

#768 in GUI

Download history 19/week @ 2024-03-04 23/week @ 2024-03-11 16/week @ 2024-03-18 22/week @ 2024-03-25 101/week @ 2024-04-01 10/week @ 2024-04-08 12/week @ 2024-04-15 18/week @ 2024-04-22 14/week @ 2024-04-29 13/week @ 2024-05-06 18/week @ 2024-05-13 30/week @ 2024-05-20 15/week @ 2024-05-27 13/week @ 2024-06-03 9/week @ 2024-06-10 22/week @ 2024-06-17

61 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

~180KB