GenericPyIterator
No overview available.
Attributes
| Attribute | Type | Description |
|---|---|---|
| obj | Py< PyAny > | The underlying Python object being iterated over. |
| iter | Py< PyIterator > | The active Python iterator instance derived from the source object. |
| index | usize | The current zero-based position of the iterator within the sequence. |
Constructor
Signature
def GenericPyIterator(
obj: Py< PyAny >,
iter: Py< PyIterator >,
index: usize
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| obj | Py< PyAny > | The underlying Python object to be iterated. |
| iter | Py< PyIterator > | The Python iterator instance associated with the object. |
| index | usize | The starting index for the iteration process. |
Signature
def GenericPyIterator(
obj: Py< PyAny >,
iter: Py< PyIterator >,
index: usize
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| obj | Py< PyAny > | The source Python object being iterated over. |
| iter | Py< PyIterator > | The underlying Python iterator object used to fetch elements. |
| index | usize | The starting positional index for the iteration sequence. |