// these should never return &K or &V
// these should never delete any entries
these should never return &K or &V
these should never delete any entries
these should never return &K or &V these should never delete any entries
pub fn insert_full(&self, k: K, v: V) -> (usize, &V::Target) {
        assert!(!self.in_use.get());
        self.in_use.set(true);
        let ret = unsafe {
            let map = self.map.get();
            let entry = (*map).entry(k);
            let index = entry.index();
            (index, &**entry.or_insert(v))
        };
        self.in_use.set(false);
        ret
    }
pub fn insert_full ( & self , k : K , v : V ) -> ( usize , & V :: Target ) { assert ! ( self in_use get ( ) ) ; self . in_use . set ( true ) ; let ret = unsafe { let map = self . map . get ( ) ; let entry = ( * map ) . entry ( k ) ; let index = entry . index ( ) ; ( index , & * * entry . or_insert ( v ) ) } ; self . in_use . set ( false ) ; ret }
these should never return &K or &V
these should never delete any entries
these should never return &K or &V these should never delete any entries
&self
k
K
v
V