summaryrefslogtreecommitdiff
path: root/engine-ecs/src/pair.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-07-22 16:59:48 +0200
committerHampusM <hampus@hampusmat.com>2026-07-22 16:59:48 +0200
commit66cbb5d207094799740228c4c913218ddca3a19d (patch)
treec43f38446d0886fd5c14f87f0558aff23cc6da55 /engine-ecs/src/pair.rs
parent28f89e277f83667990c580a6d17cfcca29ee1ff3 (diff)
refactor(engine-ecs): clean up query terms fns & fields
Diffstat (limited to 'engine-ecs/src/pair.rs')
-rw-r--r--engine-ecs/src/pair.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine-ecs/src/pair.rs b/engine-ecs/src/pair.rs
index cede364..3668f1b 100644
--- a/engine-ecs/src/pair.rs
+++ b/engine-ecs/src/pair.rs
@@ -202,7 +202,7 @@ where
terms_builder: &mut QueryTermsBuilder<MAX_TERM_CNT>,
)
{
- terms_builder.with_required([Pair::<Relation, Target>::uid()]);
+ terms_builder.present([Pair::<Relation, Target>::uid()]);
}
fn get_field<'world>(
@@ -235,7 +235,7 @@ where
terms_builder: &mut QueryTermsBuilder<MAX_TERM_CNT>,
)
{
- terms_builder.with_required([Pair::<Relation, Target>::uid()]);
+ terms_builder.present([Pair::<Relation, Target>::uid()]);
}
fn get_field<'world>(
@@ -272,7 +272,7 @@ where
terms_builder: &mut QueryTermsBuilder<MAX_TERM_CNT>,
)
{
- terms_builder.with_required([Self::uid()]);
+ terms_builder.present([Self::uid()]);
}
fn get_field<'world>(