Attribute Macro pyo3_macros::pyclass

source · []
#[pyclass]
Expand description

A proc macro used to expose Rust structs and fieldless enums as Python objects.

For more on creating Python classes, see the class section of the guide.