protocol IndexIterableAdapts a finite index-addressable collection to IndexIterator.
Methods
func _index_iterable_count() -> Int
Returns the number of indices available to the adapter.
View Source
func _index_iterable_count() -> Intfunc _index_iterable_get(i: Int) -> Element?
Returns the element at i.
Implementations must return some for every 0 <= i < count; returning none early leaves IndexIterator unable to advance past that position.
View Source
func _index_iterable_get(i: Int) -> Element?