/// Remove an entry by shifting all entries that follow it
Remove an entry by shifting all entries that follow it
Remove an entry by shifting all entries that follow it
pub(crate) fn shift_remove_index(&mut self, index: usize) -> Option<(K, V)> {
        let raw_bucket = match self.entries.get(index) {
            Some(entry) => self.find_index(entry.hash, index).unwrap(),
            None => return None,
        };
        unsafe {
            let (_, key, value) = self.shift_remove_bucket(raw_bucket);
            Some((key, value))
        }
    }
pub ( crate ) fn shift_remove_index ( & mut self , index : usize ) -> Option < ( K , V ) > { let raw_bucket = match self . entries . get ( index ) { Some ( entry ) => self . find_index ( entry . hash , index ) . unwrap ( ) , None => return None , } ; unsafe { let ( _ , key , value ) = self . shift_remove_bucket ( raw_bucket ) ; Some ( ( key , value ) ) } }
Remove an entry by shifting all entries that follow it
Remove an entry by shifting all entries that follow it
&mut self
index
usize