Variant of Query::get that takes an EntryRef
Offen
- Vorherrschende Sprache
- Rust
- Sterne
- 1.7k
- Forks
- 140
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I propose adding a variant of the three `Query::get` functions, `Query::get_from_entry` or the like, that takes an `EntryRef`/`EntryMut` instead of a `World` and `Entity`. If you want to use several queries on the same entity, then it is presumably faster to get the entry once and reuse it? Depending on what you think is better, these new functions might either be added alongside the current `Query::get` functions, or the existing functions be modified to work this way instead.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.