You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that I can do .filter on a query to add filter arguments, and I know that in a #[system(for_each)]
something like #[filter(maybe_changed::<Position>())] can be added
as described in system proc macro doc
My question is how to do it in this specific configuration:
where parameter targets should have the filter attached to.
I know that Query has a second generic argument F which should probably be used, but how?
Thanks in advance
The text was updated successfully, but these errors were encountered:
I was not working with filters by myself yet, but as I can see from the #[system] documentation you can only apply filters to a single query (when the system is defined with #[system(for_each)] or #[system(par_for_each)]). The example you provided attempts to work with two different queries at the same time, and the #[system] macro does not have a way to describe filters in that case.
I know that I can do
.filter
on a query to add filter arguments, and I know that in a#[system(for_each)]
something like
#[filter(maybe_changed::<Position>())]
can be addedas described in system proc macro doc
My question is how to do it in this specific configuration:
where parameter
targets
should have the filter attached to.I know that
Query
has a second generic argumentF
which should probably be used, but how?Thanks in advance
The text was updated successfully, but these errors were encountered: