pub fn pin(&self, item: &Item<T>) -> Pointer<T> {
        let mut pending = self.pending.lock();
        pending.add_ref.push(item.index);
        Pointer {
            data: PointerData::new(item.index, pending.get_epoch(item.index), self.id),
            pending: self.pending.clone(),
            marker: PhantomData,
        }
    }
/// Pin an iterated item with a newly created `Pointer`.
Pin an iterated item with a newly created `Pointer`.
Pin an iterated item with a newly created ` Pointer ` .
pub fn pin(&self, item: &Item<T>) -> Pointer<T> {
        let mut pending = self.pending.lock();
        pending.add_ref.push(item.index);
        Pointer {
            data: PointerData::new(item.index, pending.get_epoch(item.index), self.id),
            pending: self.pending.clone(),
            marker: PhantomData,
        }
    }
pub fn pin ( & self , item : & Item < T > ) -> Pointer < T > { let mut pending = self . pending . lock ( ) ; pending . add_ref . push ( item . index ) ; Pointer { data : PointerData :: new ( item . index , pending . get_epoch ( item . index ) , self . id ) , pending : self . pending . clone ( ) , marker : PhantomData , } }
Pin an iterated item with a newly created `Pointer`.
Pin an iterated item with a newly created ` Pointer ` .
&self
item
&Item<T>