Expand description

PyClass and related traits.

Enums

Operators for the __richcmp__ method

Output of __anext__.

Output of __next__ which can either yield the next value in the iteration, or return a value to raise StopIteration in Python.

Traits

If PyClass is implemented for a Rust type T, then we can use T in the Python world, via PyCell.

Type Definitions