Struct light_phylogeny::ArenaTree[][src]

pub struct ArenaTree<T> where
    T: PartialEq
{ pub arena: Vec<Noeud<T>>, }
Expand description

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 index of the root.

Check if the node is a leaf.

Check if the node is a left node.

Check if the node is the root.

Get the depth of the node in the tree.

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.

Get the smallest l value of a tree.

Copy

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.