Struct indextree_ng::NodeId [] [src]

pub struct NodeId { /* fields omitted */ }

A node identifier within a particular Arena

Methods

impl NodeId
[src]

[src]

Return an iterator of references to this node and its ancestors.

Call .next().unwrap() once on the iterator to skip the node itself.

[src]

Return an iterator of references to this node and the siblings before it.

Call .next().unwrap() once on the iterator to skip the node itself.

[src]

Return an iterator of references to this node and the siblings after it.

Call .next().unwrap() once on the iterator to skip the node itself.

[src]

Return an iterator of references to this node’s children.

[src]

Return an iterator of references to this node’s children, in reverse order.

[src]

Return an iterator of references to this node and its descendants, in tree order.

Parent nodes appear before the descendants. Call .next().unwrap() once on the iterator to skip the node itself.

[src]

Return an iterator of references to this node and its descendants, in tree order.

[src]

Return an iterator of references to this node and its descendants, in tree order.

[src]

Detach a node from its parent and siblings. Children are not affected.

[src]

Append a new child to this node, after existing children.

[src]

Prepend a new child to this node, before existing children.

[src]

Insert a new sibling after this node.

[src]

Insert a new sibling before this node.

Trait Implementations

impl PartialEq for NodeId
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for NodeId
[src]

impl Copy for NodeId
[src]

impl Clone for NodeId
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for NodeId
[src]

[src]

Formats the value using the given formatter.

impl Hash for NodeId
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more