pyo3_macros_backend::module

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

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here