IndexConversion

Trait IndexConversion 

Source
pub trait IndexConversion {
    // Required methods
    fn to_graphblas_index(&self) -> Result<GrB_Index, SparseLinearAlgebraError>;
    fn as_graphblas_index(self) -> Result<GrB_Index, SparseLinearAlgebraError>;
    fn from_graphblas_index(
        index: GrB_Index,
    ) -> Result<ElementIndex, SparseLinearAlgebraError>;
}

Required Methods§

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.

Implementors§