Module module

Source
Expand description

Code generation for the function that initializes a python module and adds classes and function.

Structsยง

PyFnArgs
PyModuleOptions

Enumsยง

PyModulePyO3Option ๐Ÿ”’

Functionsยง

find_and_remove_attribute ๐Ÿ”’
get_cfg_attributes ๐Ÿ”’
get_pyfn_attr ๐Ÿ”’
Extracts the data from the #[pyfn(โ€ฆ)] attribute of a function
has_pyo3_module_declared ๐Ÿ”’
module_initialization ๐Ÿ”’
process_functions_in_module ๐Ÿ”’
Finds and takes care of the #[pyfn(โ€ฆ)] in #[pymodule]
pymodule_function_impl
Generates the function that is called by the python interpreter to initialize the native module
pymodule_module_impl
set_module_attribute ๐Ÿ”’
โš ๏ธ Internal Docs โš ๏ธ Not Public API ๐Ÿ‘‰ Official Docs Here