Module conversion

Source
Expand description

Defines conversions between Rust and Python types.

Modulesยง

from_py_object_bound_sealed ๐Ÿ”’
into_pyobject_ext ๐Ÿ”’
private ๐Ÿ”’
test_no_clone ๐Ÿ”’

Traitsยง

AsPyPointer
Returns a borrowed pointer to a Python object.
FromPyObject
Extract a type from a Python object.
FromPyObjectBound
Expected form of FromPyObject to be used in a future PyO3 release.
IntoPyObject
Defines a conversion from a Rust type to a Python object, which may fail.
IntoPyObjectExt
Convenience methods for common usages of IntoPyObject. Every type that implements IntoPyObject also implements this trait.
โš ๏ธ Internal Docs โš ๏ธ Not Public API ๐Ÿ‘‰ Official Docs Here