Expand description
This crate contains the implementation of the proc macro attributes
Structs§
- PyClass
Args - The parsed arguments of the pyclass macro
- PyFunction
Attr - 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
#[pymodule]
- py_init
- Generates the function that is called by the python interpreter to initialize the native module