Attribute Macro pyo3::pyclass

source · []
#[pyclass]
Available on crate feature macros only.
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.