Open
Description
Bevy version
Main branch 3b9e2e6
What you did
- Tried to implement
RelationshipSourceCollection
forEntityIndexMap
. - Encountered error.
- Attempted to use
EntityHashSet
to double check. - Same error.
What went wrong
The Component
derive macro implements visit_entities_mut
by using VisitEntitiesMut
. EntityHashSet
and friends can't implement VisitEntitiesMut
since mutable access to it's keys could break internal invariants.