Struct light_phylogeny::ArenaTree [−][src]
Expand description
Structure ArenaTree.
Taken from https://dev.to/deciduously/no-more-tears-no-more-knots-arena-allocated-trees-in-rust-44k6
Ben Lovy https://deciduously.com/
Fields
arena: Vec<Noeud<T>>
Implementations
Add a node and send its new index. If the node already exists, send its index.
Add a node and send its new index. If the node already exists, send a panic alert.
Get index of a node from its name
Get the largest x value of a tree.
Get the largest y value of a tree.
Get the smallest x value of a tree.
Get the smallest y value of a tree.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for ArenaTree<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for ArenaTree<T> where
T: UnwindSafe,