pub trait Element:
Sealed
+ Copy
+ Default
+ 'static {
const DTYPE: DType;
}Expand description
Rust host type that has one exact admitted dense DType representation.
This trait is sealed so OA can uphold the no-padding and bit-validity requirements used by checked upload and readback.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".