Implement Extend
for World
#14
Labels
A - Storage
Area: Storage inside a World.
C - Enhancement
Category: New feature or request.
P - Low
Priority: Not particularly urgent.
S - Blocked on Rust Feature
Status: Cannot continue without a Rust feature being stabilized.
S - Needs Investigation
Status: Further investigation is needed.
V - Minor Breaking Change
Versioning: Requires a minor bump according to semver.
It may be possible to generically implement
Extend
forWorld
in a generic way that allows for extending from any iterator that yields values implementingEntity
. If this is found to be possible,IntoIterator
could also be implemented forBatch<Entities>
(which still needs to be renamed, by the way), allowingextend
to work with thatstruct
.One main issue is that our current
extend
method returnsEntityIdentifier
s corresponding to the inserted values. This would not be possible with theExtend
trait. At the very least, however,Batch<Entities>
should be made to implementIntoIterator
, and also should work with inputs besidesVec
.The text was updated successfully, but these errors were encountered: