[][src]Struct rose_tree::WalkSiblings

pub struct WalkSiblings<Ix: IndexType> { /* fields omitted */ }

A "walker" object that can be used to step through the siblings of some child node.

Methods

impl<Ix> WalkSiblings<Ix> where
    Ix: IndexType
[src]

pub fn next<N>(&mut self, tree: &RoseTree<N, Ix>) -> Option<NodeIndex<Ix>>[src]

Fetch the next sibling index in the walk for the given RoseTree.

Auto Trait Implementations

impl<Ix> RefUnwindSafe for WalkSiblings<Ix> where
    Ix: RefUnwindSafe

impl<Ix> Send for WalkSiblings<Ix> where
    Ix: Send

impl<Ix> Sync for WalkSiblings<Ix> where
    Ix: Sync

impl<Ix> Unpin for WalkSiblings<Ix> where
    Ix: Unpin

impl<Ix> UnwindSafe for WalkSiblings<Ix> where
    Ix: UnwindSafe

Blanket Implementations

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

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

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

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

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.