Struct hecs_hierarchy::Parent
source ·
[−]pub struct Parent<T> { /* private fields */ }
Expand description
Component of a entity with descendents in hierarchy tree T
.
Children represent a circular linked list. Since Parent
and child is generic over a marker
type, several hierarchies can coexist.
Implementations
Return the parent’s num children.
Query the parent’s first child.
Query the parent’s first child.
Return the parent’s last child.