[][src]Module pyo3::pyclass

Traits and structs for #[pyclass].

Structs

PyClassShell

PyClassShell represents the concrete layout of T: PyClass when it is converted to a Python class.

Traits

PyClass

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

PyClassAlloc

This trait enables custom alloc/dealloc implementations for T: PyClass.

Functions

initialize_type

Register T: PyClass to Python interpreter.