/// Remove an entry by swapping it with the last
Remove an entry by swapping it with the last
Remove an entry by swapping it with the last
pub(crate) fn swap_remove_full<Q>(&mut self, hash: HashValue, key: &Q) -> Option<(usize, K, V)>
    where
        Q: ?Sized + Equivalent<K>,
    {
        match self.find_equivalent(hash, key) {
            Some(raw_bucket) => unsafe { Some(self.swap_remove_bucket(raw_bucket)) },
            None => None,
        }
    }
pub ( crate ) fn swap_remove_full < Q > ( & mut self , hash : HashValue , key : & Q ) -> Option < ( usize , K , V ) > where Q : ? Sized + Equivalent < K > , { match self . find_equivalent ( hash , key ) { Some ( raw_bucket ) => unsafe { Some ( self . swap_remove_bucket ( raw_bucket ) ) } , None => None , } }
Remove an entry by swapping it with the last
Remove an entry by swapping it with the last
&mut self
hash
HashValue
key
&Q