Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
pyo3_macros - Rust
[go: Go Back, main page]

Expand description

This crate declares only the proc macro attributes, as a crate defining proc macro attributes must not contain any other public items.

Macros

Wraps a Rust function annotated with #[pyfunction].

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

Attribute Macros

A proc macro used to expose Rust structs and fieldless enums 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.

Derive Macros