Crate specs_visitor

Crate specs_visitor 

Source
Expand description

Utilities for visiting specs components and resources very efficiently.

This can be used to implement generic transformations of ECS graphs that compile down to very effective code.

Use the specs-visitor-derive crate to automatically derive the traits in this crate.

Traitsยง

EntityVisitor
A visitor for visiting entities in a read-only fashion.
EntityVisitorMut
A visitor for visiting entities mutably.
VisitEntities
Support for generically visiting all specs entities of a type with a visitor.
VisitEntitiesMut
Support for generically mutably visiting all specs entities of a type with a visitor.