pub unsafe extern "C" fn ecs_iter_next(it: *mut ecs_iter_t) -> boolExpand description
Progress any iterator. This operation is useful in combination with iterators for which it is not known what created them. Example use cases are functions that should accept any kind of iterator (such as serializers) or iterators created from poly objects.
This operation is slightly slower than using a type-specific iterator (e.g. ecs_filter_next, ecs_query_next) as it has to call a function pointer which introduces a level of indirection.
@param it The iterator. @return True if iterator has more results, false if not.