pyo3_macros_backend

Function pymodule_function_impl

source
pub fn pymodule_function_impl(
    function: &mut ItemFn,
    options: PyModuleOptions,
) -> Result<TokenStream>
Expand description

Generates the function that is called by the python interpreter to initialize the native module