Trait outils::types::Children [−][src]
pub trait Children<'slf, Ix = DefaultIndexType> where
Ix: IndexType, { fn children(
&'slf self,
node: NodeIndex
) -> Box<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<Iterator<Item = NodeIndex<Ix>> + 'slf>
&'slf self,
node: NodeIndex
) -> Box<Iterator<Item = NodeIndex<Ix>> + 'slf>
Returns a boxed iterator over the children of the tree node node
.