[][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.