bevy_ecs::system

Function assert_system_does_not_conflict

Source
pub fn assert_system_does_not_conflict<Out, Params, S: IntoSystem<(), Out, Params>>(
    sys: S,
)
Expand description

Ensures that the provided system doesn’t conflict with itself.

This function will panic if the provided system conflict with itself.

Note: this will run the system on an empty world.