[−][src]Trait numpy::Element
Represents that a type can be an element of PyArray
.
Associated Constants
Loading content...Required methods
fn is_same_type(dtype: &PyArrayDescr) -> bool
Returns if the give dtype
is convertible to Self
in Rust.
Provided methods
fn npy_type() -> NPY_TYPES
Returns the corresponding Enumerated Type.
fn get_dtype(py: Python<'_>) -> &PyArrayDescr
Create dtype
.