[][src]Trait outils::types::Children

pub trait Children<'slf, Ix = DefaultIndexType> where
    Ix: IndexType
{ fn children(
        &'slf self,
        node: NodeIndex
    ) -> Box<dyn Iterator<Item = NodeIndex<Ix>> + 'slf>; }

Trees implementing this trait are able to return an iterator over the children of a given tree node.

Required methods

fn children(
    &'slf self,
    node: NodeIndex
) -> Box<dyn Iterator<Item = NodeIndex<Ix>> + 'slf>

Returns a boxed iterator over the children of the tree node node.

Loading content...

Implementors

impl<'slf, V> Children<'slf, usize> for Forest<V> where
    V: 'slf + ValueType
[src]

Loading content...