⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here
👎 Deprecated since 0.15.0:

please import this with use pyo3::... or from the prelude instead

This is supported on crate feature macros only.

Attribute Macros

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

A proc macro used to expose Rust functions to Python.

A proc macro used to expose methods to Python.

A proc macro used to implement Python modules.

pyprotopyproto

A proc macro used to implement Python’s dunder methods.