pub trait ExtractSubMatrix<SubMatrix: ValueType> {
// Required method
fn apply(
&self,
matrix_to_extract_from: &(impl GetGraphblasSparseMatrix + GetSparseMatrixSize),
rows_to_extract: &ElementIndexSelector<'_>,
columns_to_extract: &ElementIndexSelector<'_>,
accumulator: &impl AccumulatorBinaryOperator<SubMatrix>,
sub_matrix: &mut impl GetGraphblasSparseMatrix,
mask: &impl MatrixMask,
options: &impl GetOptionsForOperatorWithMatrixArgument,
) -> Result<(), SparseLinearAlgebraError>;
}Required Methods§
fn apply( &self, matrix_to_extract_from: &(impl GetGraphblasSparseMatrix + GetSparseMatrixSize), rows_to_extract: &ElementIndexSelector<'_>, columns_to_extract: &ElementIndexSelector<'_>, accumulator: &impl AccumulatorBinaryOperator<SubMatrix>, sub_matrix: &mut impl GetGraphblasSparseMatrix, mask: &impl MatrixMask, options: &impl GetOptionsForOperatorWithMatrixArgument, ) -> Result<(), SparseLinearAlgebraError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".