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
A visitor for visiting entities in a read-only fashion.
A visitor for visiting entities mutably.
Support for generically visiting all
specs
entities of a type with a
visitor.Support for generically mutably visiting all
specs
entities of a type with a
visitor.