[][src]Macro pyo3::wrap_pyfunction

macro_rules! wrap_pyfunction {
    ($function_name: ident) => { ... };
}

Returns a function that takes a Python instance and returns a python function.

Use this together with #[pyfunction] and types::PyModule::add_wrapped.