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