Structs§
- And
- Runs only while both
AandBwould run. - Conditional
- Wraps a
System, skipping it for a tick wheneverC::should_runreturnsfalse. - Conditional
Fn - Wraps a
System, skipping it for a tick whenevercondreturnsfalse. The closure-based counterpart toConditional— seeRunIfFnExt::run_if_fn. - Conditional
Set - Or
- Runs while either
AorBwould run. - Resource
Exists - Runs only while resource
Texists. - RunIf
FnSystem - RunIf
System
Traits§
- RunCondition
- A predicate checked before a system runs. If
should_runreturnsfalse, the wrapped system’s body is skipped entirely for that tick — itsSystemParams are never fetched. - RunIf
Ext - Adds
.run_ifto anything convertible into aSystem, gating it on aRunCondition. - RunIf
FnExt - Adds
.run_if_fnto anything convertible into aSystem, gating it on a plain closure instead of aRunConditiontype — no struct/impl boilerplate needed for a one-off check: - System
SetRun IfExt - Adds
.run_ifto an entireIntoSystemSettuple at once, applying the same condition to every system in it.