[][src]Macro pyo3::wrap_function

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

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

Use this together with #[function] and types::PyModule::add_function.