Module conversion

Module conversion 

Source
Expand description

Defines conversions between Rust and Python types.

Traitsยง

FromPyObject
Extract a type from a Python object.
FromPyObjectOwned
A data structure that can be extracted without borrowing any data from the input.
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.