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)
}
}