pipecircuit 0.0.25

Correct. Robust. Fast. Portable. Pick four.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::SecondaryIndex;
use crate::storage::{
    IndexKey,
    warp_table::{BulkSelection, BulkSetOutcome, BulkUpdateError, stable_slots::StableSlots},
};
impl<Key: IndexKey> SecondaryIndex<Key> {
    pub(in crate::storage::warp_table) fn set_column_selection(
        &mut self,
        column: &mut [Key],
        stable_slots: &StableSlots,
        target: Key,
        selection: &mut BulkSelection<'_>,
    ) -> Result<BulkSetOutcome, BulkUpdateError> {
        selection.set_membership(&mut self.0, column, stable_slots, target)
    }
}