Crate pyo3_utils

Source

Modules§

from_py_dictunstable
See: https://github.com/PyO3/pyo3/issues/5163
py_match
When you want to expose an state machine enum to Python, you should implement the trait in this module.
py_wrapper
When you want to implement a pyclass that can obtain ownership of the internal value in a semantically compatible way, you can use this module.
ungil
This module allows you to use !Send types in Python::allow_threads.

Macros§

__derive_from_py_dictunstable
Derives the FromPyDict trait for a struct.