Crate pyo3_macros_backend
source · [−]Expand description
This crate contains the implementation of the proc macro attributes
Structs
The parsed arguments of the pyclass macro
Enums
The mechanism used to collect #[pymethods]
into the type object
Functions
Derive FromPyObject for enums and structs.
Collects all #[doc = “…”] attributes into a TokenStream evaluating to a null-terminated string e.g. concat!(“…”, “\n”, “\0”)
Finds and takes care of the #[pyfn(…)] in #[pymodule]
Generates the function that is called by the python interpreter to initialize the native module