Struct indextree::Node[][src]

pub struct Node<T> {
    pub data: T,
    // some fields omitted
}

A node within a particular Arena

Fields

The actual data which will be stored within the tree

Methods

impl<T> Node<T>
[src]

Return the ID of the parent node, unless this node is the root of the tree.

Return the ID of the first child of this node, unless it has no child.

Return the ID of the last child of this node, unless it has no child.

Return the ID of the previous sibling of this node, unless it is a first child.

Return the ID of the previous sibling of this node, unless it is a first child.

Check if the node is marked as removed

Trait Implementations

impl<T: PartialEq> PartialEq for Node<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

impl<T> Display for Node<T>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> Send for Node<T> where
    T: Send

impl<T> Sync for Node<T> where
    T: Sync