Skip to main content

SparseTripletsTraits

Trait SparseTripletsTraits 

Source
pub trait SparseTripletsTraits {
    // Required method
    fn to_coo(&self, pointer_type: IndexPointerType) -> Result<CooTripletsShape>;
}

Required Methods§

Source

fn to_coo(&self, pointer_type: IndexPointerType) -> Result<CooTripletsShape>

convert sparse pointers into (row, column, value) triplets

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§