[][src]Struct vec_tree::VecTree

pub struct VecTree<T> { /* fields omitted */ }

Methods

impl<T> VecTree<T>
[src]

Important traits for ChildrenIter<'a, T>

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

Important traits for PrecedingSiblingsIter<'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 FollowingSiblingsIter<'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 AncestorsIter<'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 DescendantsIter<'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 DescendantsWithDepthIter<'a, T>

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

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

Trait Implementations

impl<T> Default for VecTree<T>
[src]

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

impl<T> Index<Index> for VecTree<T>
[src]

The returned type after indexing.

impl<T> IndexMut<Index> for VecTree<T>
[src]

Auto Trait Implementations

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

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

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<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> BorrowMut for T where
    T: ?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> Any for T where
    T: 'static + ?Sized
[src]