Crate rigetti_pyo3

source ·
Expand description

Helpful macros and traits for creating a Python wrapper of a Rust library.

See Macros and Traits for the main items in this crate.

§Usage

See the examples directory in the source for example usage of a majority of the crate.

Alternatively, check the examples on the macros in this documentation.

Re-exports§

Modules§

Macros§

Traits§

  • Convert from a Python type to a Rust type.
  • Implemented by wrapper types generated with py_wrap_* macros:
  • Implemented by wrapper types containing the source type, generated with py_wrap_* macros:
  • Convert from a Rust type into a Python type.
  • Implemented by error types generated with py_wrap_error.