HierarchyIter

Trait HierarchyIter 

Source
pub trait HierarchyIter<'a, P, C> {
    // Required methods
    fn ancestors(&self, id: EntityId) -> AncestorIter<C> ;
    fn children(&self, id: EntityId) -> ChildrenIter<C> ;
    fn descendants_depth_first(
        &self,
        id: EntityId,
    ) -> DescendantsDepthFirstIter<P, C> ;
    fn descendants_breadth_first(
        &self,
        id: EntityId,
    ) -> DescendantsBreadthFirstIter<P, C> ;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl<'a, P, C, T: 'a> HierarchyIter<'a, P, C> for (P, C)
where P: Get<Out = &'a Parent<T>> + Copy, C: Get<Out = &'a Child<T>> + Copy,

Implementors§