⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here
wrap_pyfunction!() { /* proc-macro */ }
Expand description

Wraps a Rust function annotated with #[pyfunction].

This can be used with PyModule::add_function to add free functions to a PyModule - see its documentation for more information.