Expand description
Defines conversions between Rust and Python types.
Modules§
- from_
py_ πobject_ bound_ sealed - into_
pyobject_ πext - private π
- test_
no_ πclone
Traits§
- AsPy
Pointer - Returns a borrowed pointer to a Python object.
- From
PyObject - Extract a type from a Python object.
- From
PyObject Bound - Expected form of
FromPyObject
to be used in a future PyO3 release. - IntoPy
Deprecated - Defines a conversion from a Rust type to a Python object.
- Into
PyObject - Defines a conversion from a Rust type to a Python object, which may fail.
- Into
PyObject Ext - Convenience methods for common usages of
IntoPyObject
. Every type that implementsIntoPyObject
also implements this trait. - ToPy
Object Deprecated - Conversion trait that allows various objects to be converted into
PyObject
.