bevy/examples/ecs
Chris Russell 765e5842cd Replace ValidationOutcome with Result (#18541)
# Objective

Make it easier to short-circuit system parameter validation.  

Simplify the API surface by combining `ValidationOutcome` with
`SystemParamValidationError`.

## Solution

Replace `ValidationOutcome` with `Result<(),
SystemParamValidationError>`. Move the docs from `ValidationOutcome` to
`SystemParamValidationError`.

Add a `skipped` field to `SystemParamValidationError` to distinguish the
`Skipped` and `Invalid` variants.

Use the `?` operator to short-circuit validation in tuples of system
params.
2025-03-26 09:01:42 +01:00
..
change_detection.rs
component_hooks.rs
custom_query_param.rs
custom_schedule.rs
dynamic.rs
ecs_guide.rs
entity_disabling.rs
error_handling.rs
event.rs
fallible_params.rs
fixed_timestep.rs
generic_system.rs
hierarchy.rs
immutable_components.rs
iter_combinations.rs
nondeterministic_system_order.rs
observer_propagation.rs
observers.rs
one_shot_systems.rs
parallel_query.rs
relationships.rs
removal_detection.rs
run_conditions.rs
send_and_receive_events.rs
startup_system.rs
system_closure.rs
system_param.rs
system_piping.rs
system_stepping.rs