We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
The __length__ method can be defined in combination with __array__ to allow additional types to be used with the each-in loop.
__length__
__array__
each-in
func __length__(this *MyArrayLike) usize { }
The return value is the number of elements in the array returned by __array__
Table of Contents