Function bevy_ecs::system::assert_is_read_only_system
source · pub fn assert_is_read_only_system<In, Out, Marker, S: IntoSystem<In, Out, Marker>>(
sys: S
)where
S::System: ReadOnlySystem,
Expand description
Ensure that a given function is a read-only system.
This should be used when writing doc examples, to confirm that systems used in an example are valid systems.