Crate pyo3_macros_backend[−][src]
This crate contains the implementation of the proc macro attributes
Structs
| PyClassArgs | The parsed arguments of the pyclass macro |
| PyFunctionAttr | The attributes of the pyfunction macro |
Functions
| add_fn_to_module | Generates python wrapper over a function that allows adding it to a python module as a python function |
| build_derive_from_pyobject | Derive FromPyObject for enums and structs. |
| build_py_class | |
| build_py_function | |
| build_py_methods | |
| build_py_proto | |
| get_doc | |
| process_functions_in_module | Finds and takes care of the #[pyfn(…)] in |
| py_init | Generates the function that is called by the python interpreter to initialize the native module |