Struct rinutil::idtree::Node[][src]

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

Fields

Methods

impl<T> Node<T>
[src]

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.

Trait Implementations

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

The resulting type after dereferencing.

Dereferences the value.

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

Mutably dereferences the value.

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> From<Node<T>> for NodeId
[src]

Performs the conversion.

Auto Trait Implementations

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

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