trait RegionExt {
fn early(hir_map: Map<'_>, param: &GenericParam<'_>) -> (LocalDefId, Region);
fn late(
index: u32,
hir_map: Map<'_>,
param: &GenericParam<'_>
) -> (LocalDefId, Region);
fn id(&self) -> Option<DefId>;
fn shifted(self, amount: u32) -> Region;
fn shifted_out_to_binder(self, binder: DebruijnIndex) -> Region;
}
Required Methods
source
fn early(hir_map: Map<'_>, param: &GenericParam<'_>) -> (LocalDefId, Region)
sourcefn late(
fn late(
index: u32,
hir_map: Map<'_>,
param: &GenericParam<'_>
) -> (LocalDefId, Region)
source