Trait rustc_resolve::late::lifetimes::RegionExt[−][src]

trait RegionExt {
    fn early(
        hir_map: &Map<'_>,
        index: &mut u32,
        param: &GenericParam<'_>
    ) -> (ParamName, Region);
fn late(hir_map: &Map<'_>, param: &GenericParam<'_>) -> (ParamName, Region);
fn late_anon(index: &Cell<u32>) -> Region;
fn id(&self) -> Option<DefId>;
fn shifted(self, amount: u32) -> Region;
fn shifted_out_to_binder(self, binder: DebruijnIndex) -> Region;
fn subst<'a, L>(self, params: L, map: &NamedRegionMap) -> Option<Region>
    where
        L: Iterator<Item = &'a Lifetime>
; }

Required methods

fn early(
    hir_map: &Map<'_>,
    index: &mut u32,
    param: &GenericParam<'_>
) -> (ParamName, Region)
[src]

fn late(hir_map: &Map<'_>, param: &GenericParam<'_>) -> (ParamName, Region)[src]

fn late_anon(index: &Cell<u32>) -> Region[src]

fn id(&self) -> Option<DefId>[src]

fn shifted(self, amount: u32) -> Region[src]

fn shifted_out_to_binder(self, binder: DebruijnIndex) -> Region[src]

fn subst<'a, L>(self, params: L, map: &NamedRegionMap) -> Option<Region> where
    L: Iterator<Item = &'a Lifetime>, 
[src]

Loading content...

Implementations on Foreign Types

impl RegionExt for Region[src]

Loading content...

Implementors

Loading content...