pub fn collect_pointers(&self) -> BTreeMap<TempIndex, &Pointer> {
        self.slots
            .iter()
            .enumerate()
            .filter_map(|(idx, slot)| slot.get_content().map(|(_, ptr)| (idx, ptr)))
            .collect()
    }
/// Collect the pointers of the underlying values in the local slots
Collect the pointers of the underlying values in the local slots
Collect the pointers of the underlying values in the local slots
pub fn collect_pointers(&self) -> BTreeMap<TempIndex, &Pointer> {
        self.slots
            .iter()
            .enumerate()
            .filter_map(|(idx, slot)| slot.get_content().map(|(_, ptr)| (idx, ptr)))
            .collect()
    }
pub fn collect_pointers ( & self ) -> BTreeMap < TempIndex , & Pointer > { self . slots . iter ( ) . enumerate ( ) . filter_map ( | ( idx , slot ) | slot . get_content ( ) . map ( | ( _ , ptr ) | ( idx , ptr ) ) ) . collect ( ) }
Collect the pointers of the underlying values in the local slots
Collect the pointers of the underlying values in the local slots
&self