Crate pyo3_macros

Source
Expand description

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

Traitsยง

UnwrapOrCompileError ๐Ÿ”’

Functionsยง

methods_type ๐Ÿ”’
pyclass_enum_impl ๐Ÿ”’
pyclass_impl ๐Ÿ”’
pymethods_impl ๐Ÿ”’

Attribute Macrosยง

pyclass
pyfunction
A proc macro used to expose Rust functions to Python.
pymethods
A proc macro used to expose methods to Python.
pymodule
A proc macro used to implement Python modules.

Derive Macrosยง

FromPyObject
IntoPyObject
IntoPyObjectRef
โš ๏ธ Internal Docs โš ๏ธ Not Public API ๐Ÿ‘‰ Official Docs Here