The data type the tensor can hold. The data type is assumed to follow the
native endian-ness. An explicit error message should be raised when
attempting to export an array with non-native endianness
Wrapper around mts_array_t that provides a more convenient API to use it
in Rust code, and in particular to access the underlying array as an &dyn Any instance where possible.
The Array trait is used by metatensor to manage different kind of data array
with a single API. Metatensor only knows about Box<dyn Array>, and
manipulate the data through the functions on this trait.