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ยง
- Entity
Visitor - A visitor for visiting entities in a read-only fashion.
- Entity
Visitor Mut - A visitor for visiting entities mutably.
- Visit
Entities - Support for generically visiting all
specsentities of a type with a visitor. - Visit
Entities Mut - Support for generically mutably visiting all
specsentities of a type with a visitor.