Struct hecs_hierarchy::Parent[][src]

pub struct Parent<T> { /* fields omitted */ }
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.

Return the aparent’s first child.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.