Enum pyo3::class::iter::IterNextOutput [−][src]
pub enum IterNextOutput<T, U> {
Yield(T),
Return(U),
}Expand description
Output of __next__ which can either yield the next value in the iteration, or
return a value to raise StopIteration in Python.
See PyIterProtocol for an example.
