Expand description
Defines conversions between Rust and Python types.
Traitsยง
- Returns a borrowed pointer to a Python object.
- Extract a type from a Python object.
- 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. - Defines a conversion from a Rust type to a Python object, which may fail.
- 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 intoPyObject
.