[][src]Struct rin::util::idtree::NodeId

pub struct NodeId { /* fields omitted */ }

A node identifier within a particular Arena.

Methods

impl NodeId
[src]

Important traits for Ancestors<'a, T>

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

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

Important traits for PrecedingSiblings<'a, T>

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.

Important traits for FollowingSiblings<'a, T>

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.

Important traits for Children<'a, T>

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

Important traits for ReverseChildren<'a, T>

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

Important traits for Descendants<'a, T>

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.

Important traits for Traverse<'a, T>

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

Important traits for ReverseTraverse<'a, T>

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

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

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

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

Insert a new sibling after this node.

Insert a new sibling before this node.

Trait Implementations

impl PartialEq<NodeId> for NodeId
[src]

impl<T> From<Node<T>> for NodeId
[src]

impl<'a, T> From<NodeIdMut<'a, T>> for NodeId
[src]

impl<'a, T> From<NodeIdRef<'a, T>> for NodeId
[src]

impl Clone for NodeId
[src]

Performs copy-assignment from source. Read more

impl Copy for NodeId
[src]

impl Eq for NodeId
[src]

impl Debug for NodeId
[src]

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

The returned type after indexing.

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

Auto Trait Implementations

impl Send for NodeId

impl Sync for NodeId

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> SetParameter for T
[src]

Sets value as a parameter of self.

impl<V> IntoVec for V
[src]

impl<V> IntoPnt for V
[src]

impl<T> IntoPnt for T where
    T: Scalar
[src]

impl<T> IntoPnt for T where
    T: Scalar
[src]

impl<T> IntoPnt for T where
    T: Scalar
[src]

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Any + Debug
[src]

Tests if Self the same as the type T Read more

impl<T> Same for T
[src]

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]