Module convert

Source
Expand description

Defines conversion traits between Rust types and NumPy data types.

Traitsยง

IntoPyArray
Conversion trait from owning Rust types into PyArray.
NpyIndex
Trait implemented by types that can be used to index an array.
ToNpyDims
Utility trait to specify the dimensions of an array.
ToPyArray
Conversion trait from borrowing Rust types to PyArray.