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
That code doesn't compile because distributive_run_if requires a condition to implement Clone, but all common conditions don't return Clone-able functions.
Additional information
error: the trait bound `impl for<'a> FnMut(bevy::prelude::Res<'a, ui::resources::UiVisibility>) -> bool: Clone` is not satisfied
The text was updated successfully, but these errors were encountered:
We can't necessarily expect all of these conditions to implement Clone, right? Or would we constrain conditions like resource_equals to resources which implement Clone?
Bevy version
0.10.0
What you did
I wanted to add a chain of systems with run condition using
distributive_run_if
What went wrong
That code doesn't compile because
distributive_run_if
requires a condition to implementClone
, but all common conditions don't returnClone
-able functions.Additional information
error: the trait bound `impl for<'a> FnMut(bevy::prelude::Res<'a, ui::resources::UiVisibility>) -> bool: Clone` is not satisfied
The text was updated successfully, but these errors were encountered: