Macro pyo3::wrap_pymodule[][src]

macro_rules! wrap_pymodule {
    ($module_name : ident) => { ... };
}
Expand description

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

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