W3cubDocs

/Haxe Python

NativeIterator<T>(NativeIteratorRaw<T>)

package python

to NativeIterable<T>, NativeIteratorRaw<T>,

Available on python

This type represents native Python iterators. It supports automatic conversion to Haxe Iterator by creating wrapper object.

Constructor

@:impl inline new (p:NativeIteratorRaw<T>)

Methods

@:impl @:to inline toHaxeIterator ():HaxeIterator<T>

Return Haxe Iterator object by wrapping this native iterator.

Static methods

@:impl static inline new (p:NativeIteratorRaw<T>)

@:impl @:to static inline toHaxeIterator ():HaxeIterator<T>

Return Haxe Iterator object by wrapping this native iterator.

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/python/NativeIterator.html