Struct arenatree::Node[][src]

pub struct Node {
    pub child: Option<NodeId>,
    pub sibling: Option<NodeId>,
}

A single node in the tree. Has a reference to the first child and the next sibling.

Fields

Methods

impl Node
[src]

Convenience function for creating a node with children and no siblings

Trait Implementations

impl Clone for Node
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Node
[src]

impl Debug for Node
[src]

Formats the value using the given formatter. Read more

impl Default for Node
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Node

impl Sync for Node