pub trait InsertMatrixIntoSubMatrix<MatrixToInsertInto>where
MatrixToInsertInto: ValueType,{
// Required method
fn apply(
&self,
matrix_to_insert_into: &mut SparseMatrix<MatrixToInsertInto>,
rows_to_insert_into: &ElementIndexSelector<'_>,
columns_to_insert_into: &ElementIndexSelector<'_>,
matrix_to_insert: impl GetGraphblasSparseMatrix,
accumulator: &impl AccumulatorBinaryOperator<MatrixToInsertInto>,
mask_for_matrix_to_insert_into: &impl MatrixMask,
options: &impl GetOptionsForOperatorWithMatrixArguments,
) -> Result<(), SparseLinearAlgebraError>;
}
Required Methods§
Sourcefn apply(
&self,
matrix_to_insert_into: &mut SparseMatrix<MatrixToInsertInto>,
rows_to_insert_into: &ElementIndexSelector<'_>,
columns_to_insert_into: &ElementIndexSelector<'_>,
matrix_to_insert: impl GetGraphblasSparseMatrix,
accumulator: &impl AccumulatorBinaryOperator<MatrixToInsertInto>,
mask_for_matrix_to_insert_into: &impl MatrixMask,
options: &impl GetOptionsForOperatorWithMatrixArguments,
) -> Result<(), SparseLinearAlgebraError>
fn apply( &self, matrix_to_insert_into: &mut SparseMatrix<MatrixToInsertInto>, rows_to_insert_into: &ElementIndexSelector<'_>, columns_to_insert_into: &ElementIndexSelector<'_>, matrix_to_insert: impl GetGraphblasSparseMatrix, accumulator: &impl AccumulatorBinaryOperator<MatrixToInsertInto>, mask_for_matrix_to_insert_into: &impl MatrixMask, options: &impl GetOptionsForOperatorWithMatrixArguments, ) -> Result<(), SparseLinearAlgebraError>
mask and replace option apply to entire matrix_to_insert_to
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.