Struct indextree_ng::Arena [] [src]

pub struct Arena<T> { /* fields omitted */ }

An Arena structure containing certain Nodes

Methods

impl<T> Arena<T>
[src]

[src]

Create a new empty Arena

[src]

Create a new node from its associated data.

[src]

Removes a node from the arena. Detaches all children before.

[src]

Returns the number of nodes in Arena

[src]

Returns true if arena has no nodes, false otherwise

Trait Implementations

impl<T: Clone> Clone for Arena<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for Arena<T>
[src]

[src]

Formats the value using the given formatter.

impl<T> Index<NodeId> for Arena<T>
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl<T> IndexMut<NodeId> for Arena<T>
[src]

[src]

Performs the mutable indexing (container[index]) operation.