pyo3

Module prelude

Source
Expand description

PyO3’s prelude.

The purpose of this module is to alleviate imports of many commonly used items of the PyO3 crate by adding a glob import to the top of pyo3 heavy modules:

use pyo3::prelude::*;

Re-exports§

Attribute Macros§

  • pyclassmacros
  • A proc macro used to expose Rust functions to Python.
  • pymethodsmacros
    A proc macro used to expose methods to Python.
  • pymodulemacros
    A proc macro used to implement Python modules.

Derive Macros§

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