Skip to main content

SparseScalar

Trait SparseScalar 

Source
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§

Source

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".

Implementations on Foreign Types§

Source§

impl SparseScalar for f32

Source§

impl SparseScalar for f64

Source§

impl SparseScalar for Complex32

Source§

impl SparseScalar for Complex64

Implementors§