Module pyo3::proc_macro[][src]

This is supported on crate feature macros only.
Expand description

The proc macros, all of which are part of the prelude.

Import these with use pyo3::prelude::*;

Attribute Macros

A proc macro used to expose Rust structs as Python objects.

A proc macro used to expose Rust functions to Python.

A proc macro used to expose methods to Python.

A proc macro used to implement Python modules.

A proc macro used to implement Python’s dunder methods.