Crate pyo3_macros

Source
Expand description

This crate declares only the proc macro attributes, as a crate defining proc macro attributes must not contain any other public items.

Attribute Macros§

pyclass
pyfunction
A proc macro used to expose Rust functions to Python.
pymethods
A proc macro used to expose methods to Python.
pymodule
A proc macro used to implement Python modules.

Derive Macros§

FromPyObject
IntoPyObject
IntoPyObjectRef