pub trait AsDType {
// Required method
fn as_dtype(&self) -> DType;
}Expand description
Trait for types that carry or represent a DType.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".