pub trait DataTypeInfo {
// Required methods
fn cudnn_data_type() -> DataType;
fn cudnn_raw_data_type() -> cudnnDataType_t;
fn size() -> usize;
}Expand description
Trait to associate a type with a cudnn type
Required Methods§
Sourcefn cudnn_data_type() -> DataType
fn cudnn_data_type() -> DataType
get cudnn data type
Sourcefn cudnn_raw_data_type() -> cudnnDataType_t
fn cudnn_raw_data_type() -> cudnnDataType_t
get cudnn raw data type
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.