amethyst / amethyst/legion

Accept IntoView for various functions

Aperta
#175 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
1.7k
Fork
140
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Not all functions accept the new syntax using plain `&`/`&mut` for component borrows in views. It would be convenient and more consistent if they did. I can find the following:
- `EntityStore::get_component_storage`
- `(Sub)World::split`

The syntax might also be considered for fetching resources, to be consistent with components.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.