[][src]Trait shipyard_scenegraph::HierarchyIter

pub trait HierarchyIter<'a, P, C> {
    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

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>

Loading content...

Implementations on Foreign Types

impl<'a, P, C> HierarchyIter<'a, P, C> for (P, C) where
    C: GetComponent<Out = &'a Child> + Copy,
    P: GetComponent<Out = &'a Parent> + Copy
[src]

Loading content...

Implementors

Loading content...