Expand description
Implementation details of #[pymodule]
which need to be accessible from proc-macro generated code.
Structs§
- AddClass
ToModule - For adding a class to a module.
- AddType
ToModule - For adding native types (non-pyclass) to a module.
- Module
Def Sync
wrapper offfi::PyModuleDef
.- Module
Initializer - Wrapper to enable initializer to be used in const fns.
Traits§
- PyAdd
ToModule - Trait to add an element (class, function…) to a module.