pub trait TryIntoDType {
// Required method
fn try_into_dtype(&self, devices: &[&Device]) -> Result<DType>;
}Expand description
Type which can be converted to a DType
Required Methods§
fn try_into_dtype(&self, devices: &[&Device]) -> Result<DType>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".