[][src]Module pyo3::pyclass

PyClass and related traits.

Traits

PyClass

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

PyClassAlloc

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

PyClassSend

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