Skip to main content

Module conversion

Module conversion 

Source
Expand description

Defines conversions between Rust and Python types.

Modulesยง

from_py_object_sequence ๐Ÿ”’
into_pyobject_ext ๐Ÿ”’
private ๐Ÿ”’
test_no_clone ๐Ÿ”’

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.
โš ๏ธ Internal Docs โš ๏ธ Not Public API ๐Ÿ‘‰ Official Docs Here