Trait pyo3::class::iter::PyIterProtocol [] [src]

pub trait PyIterProtocol<'p>: PyTypeInfo {
    fn __iter__(&'p mut self) -> Self::Result
    where
        Self: PyIterIterProtocol<'p>
, { ... }
fn __next__(&'p mut self) -> Self::Result
    where
        Self: PyIterNextProtocol<'p>
, { ... } }

Python Iterator Interface.

more information https://docs.python.org/3/c-api/typeobj.html#c.PyTypeObject.tp_iter

Provided Methods

Implementors