Module pyo3::pyclass[][src]

Expand description

PyClass and related traits.

Traits

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

This trait enables custom tp_new/tp_dealloc implementations for T: PyClass.

This trait is implemented for #[pyclass] and handles following two situations: