pub trait TensorElement: Pod {
const DTYPE: DataType;
}Expand description
A native-endian scalar that has a stable tensor dtype and no invalid bit patterns.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.