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_backend - Rust
[go: Go Back, main page]

Expand description

This crate contains the implementation of the proc macro attributes

Structs

The parsed arguments of the pyclass macro

Enums

The mechanism used to collect #[pymethods] into the type object

Functions

Derive FromPyObject for enums and structs.

Collects all #[doc = “…”] attributes into a TokenStream evaluating to a null-terminated string e.g. concat!(“…”, “\n”, “\0”)

Finds and takes care of the #[pyfn(…)] in #[pymodule]

Generates the function that is called by the python interpreter to initialize the native module