Variant of Query::get that takes an EntryRef
未關閉
- 主要語言
- Rust
- 星號
- 1.7k
- 分支
- 140
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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.
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。