Registry / utility / indextree

indextree

JSON →
library4.8.1rscratesunverified

Arena based tree structure using indices instead of reference counted pointers for efficient tree manipulation.

# Cargo.toml [dependencies] indextree = "4.8.1"
INSTALL
IMPORT
SIG · INDEXTREE
I
indextree
utilityrustv4.8.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Arena
use indextree::Arena;

Creates an arena tree with a root and child node.

use indextree::Arena; let mut arena = Arena::new(); let root = arena.new_node(1); let child = arena.new_node(2); arena.append(child, root); assert_eq!(arena.get(root).unwrap().children().count(), 1);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.8.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
indextree — cargo add indextree · libregistry