MapEntities is not implemented for nested types in collections. #19198
Labels
A-ECS
Entities, components, systems, and events
C-Feature
A new feature, making something new possible
S-Ready-For-Implementation
This issue is ready for an implementation PR. Go for it!
What problem does this solve or what need does it fill?
The following does not currently compile:
The problem is that
Vec<PlayerSaveData>
does not implement MapEntities.Vec<Entity>
does however. This means I have to manually implementMapEntities
forPlayerSaveStage
even though it's incredibly trivial.What solution would you like?
Implement
MapEntities
forVec<T>
whereT: MapEntities
. This should automatically work for Entity sinceEntity: MapEntities
.The text was updated successfully, but these errors were encountered: