pyo3

Macro wrap_pymodule

Source
macro_rules! wrap_pymodule {
    ($module:path) => { ... };
}
Available on crate feature macros only.
Expand description

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

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

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here