pub trait SparseScalar:
Sealed
+ Copy
+ 'static {
// Required method
fn data_type() -> cudaDataType;
}Expand description
Types that cuSPARSE’s generic API accepts as element / compute type.
Required Methods§
Sourcefn data_type() -> cudaDataType
fn data_type() -> cudaDataType
cuSPARSE / cuBLAS element-type tag.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".