Expand description
Implementation details of #[pymodule] which need to be accessible from proc-macro generated code.
Structs§
- AddClassToModule 
- For adding a class to a module.
- AddTypeToModule 
- For adding native types (non-pyclass) to a module.
- ModuleDef 
- Syncwrapper of- ffi::PyModuleDef.
- ModuleInitializer 
- Wrapper to enable initializer to be used in const fns.
Traits§
- PyAddToModule 
- Trait to add an element (class, function…) to a module.