crate fn elements_contained_in<'a>(&'a self, r: N) -> impl Iterator<Item = RegionElement> + 'a {
        let points_iter = self.locations_outlived_by(r).map(RegionElement::Location);

        let free_regions_iter = self
            .universal_regions_outlived_by(r)
            .map(RegionElement::RootUniversalRegion);

        let subuniverses_iter = self
            .subuniverses_contained_in(r)
            .map(RegionElement::SubUniversalRegion);

        points_iter
            .chain(free_regions_iter)
            .chain(subuniverses_iter)
    }
/// Returns all the elements contained in a given region's value.
Returns all the elements contained in a given region's value.
Returns all the elements contained in a given region ' s value .
crate fn elements_contained_in<'a>(&'a self, r: N) -> impl Iterator<Item = RegionElement> + 'a {
        let points_iter = self.locations_outlived_by(r).map(RegionElement::Location);
        let free_regions_iter = self
            .universal_regions_outlived_by(r)
            .map(RegionElement::RootUniversalRegion);
        let subuniverses_iter = self
            .subuniverses_contained_in(r)
            .map(RegionElement::SubUniversalRegion);
        points_iter
            .chain(free_regions_iter)
            .chain(subuniverses_iter)
    }
crate fn elements_contained_in < ' a > ( & ' a self , r : N ) -> impl Iterator < Item = RegionElement > + ' a { let points_iter = self . locations_outlived_by ( r ) . map ( RegionElement :: Location ) ; let free_regions_iter = self . universal_regions_outlived_by ( r ) . map ( RegionElement :: RootUniversalRegion ) ; let subuniverses_iter = self . subuniverses_contained_in ( r ) . map ( RegionElement :: SubUniversalRegion ) ; points_iter . chain ( free_regions_iter ) . chain ( subuniverses_iter ) }
Returns all the elements contained in a given region's value.
Returns all the elements contained in a given region ' s value .
&'a self
r
N