pub trait ExtractSubVector<SubVector: ValueType> {
    // Required method
    fn apply(
        &self,
        vector_to_extract_from: &(impl GraphblasSparseVectorTrait + ContextTrait + SparseVectorTrait),
        indices_to_extract: &ElementIndexSelector<'_>,
        accumulator: &impl AccumulatorBinaryOperator<SubVector>,
        sub_vector: &mut SparseVector<SubVector>,
        mask: &(impl VectorMask + ContextTrait),
        options: &OperatorOptions
    ) -> Result<(), SparseLinearAlgebraError>;
}Required Methods§
sourcefn apply(
    &self,
    vector_to_extract_from: &(impl GraphblasSparseVectorTrait + ContextTrait + SparseVectorTrait),
    indices_to_extract: &ElementIndexSelector<'_>,
    accumulator: &impl AccumulatorBinaryOperator<SubVector>,
    sub_vector: &mut SparseVector<SubVector>,
    mask: &(impl VectorMask + ContextTrait),
    options: &OperatorOptions
) -> Result<(), SparseLinearAlgebraError>
 
fn apply( &self, vector_to_extract_from: &(impl GraphblasSparseVectorTrait + ContextTrait + SparseVectorTrait), indices_to_extract: &ElementIndexSelector<'_>, accumulator: &impl AccumulatorBinaryOperator<SubVector>, sub_vector: &mut SparseVector<SubVector>, mask: &(impl VectorMask + ContextTrait), options: &OperatorOptions ) -> Result<(), SparseLinearAlgebraError>
Length of the mask must equal length of sub_vector
Object Safety§
This trait is not object safe.