Expand description
This crate contains the implementation of the proc macro attributes
Structs§
- PyClass
Args - The parsed arguments of the pyclass macro
- PyFunction
Options - PyModule
Options
Enums§
- PyClass
Methods Type - The mechanism used to collect
#[pymethods]
into the type object
Functions§
- build_
derive_ from_ pyobject - Derive FromPyObject for enums and structs.
- build_
derive_ into_ pyobject - build_
py_ class - build_
py_ enum - build_
py_ function - build_
py_ methods - get_doc
- Collects all #[doc = “…”] attributes into a TokenStream evaluating to a null-terminated string.
- pymodule_
function_ impl - Generates the function that is called by the python interpreter to initialize the native module
- pymodule_
module_ impl