Function pyo3_macros_backend::pyfunction::impl_wrap_pyfunction
source · pub fn impl_wrap_pyfunction(
func: &mut ItemFn,
options: PyFunctionOptions
) -> Result<TokenStream>
Expand description
Generates python wrapper over a function that allows adding it to a python module as a python function