pub unsafe extern "C" fn ecs_rule_iter(
world: *const ecs_world_t,
rule: *const ecs_rule_t,
) -> ecs_iter_tExpand description
Iterate a rule. Note that rule iterators may allocate memory, and that unless the iterator is iterated until completion, it may still hold resources. When stopping iteration before ecs_rule_next has returned false, use ecs_iter_fini to cleanup any remaining resources.
@param world The world. @param rule The rule. @return An iterator.