Implement `Extend` for `World`
- Lenguaje dominante
- Rust
- Estrellas
- 41
- Forks
- 2
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
It may be possible to generically implement `Extend` for `World` in a generic way that allows for extending from any iterator that yields values implementing `Entity`. If this is found to be possible, `IntoIterator` could also be implemented for `Batch` (which still needs to be renamed, by the way), allowing `extend` to work with that `struct`.
One main issue is that our current `extend` method returns `EntityIdentifier`s corresponding to the inserted values. This would not be possible with the `Extend` trait. At the very least, however, `Batch` should be made to implement `IntoIterator`, and also should work with inputs besides `Vec`.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.