rustc_hir_analysis::collect::resolve_bound_vars

Trait RegionExt

source
trait RegionExt {
    // Required methods
    fn early(param: &GenericParam<'_>) -> (LocalDefId, ResolvedArg);
    fn late(idx: u32, param: &GenericParam<'_>) -> (LocalDefId, ResolvedArg);
    fn id(&self) -> Option<LocalDefId>;
    fn shifted(self, amount: u32) -> ResolvedArg;
}

Required Methods§

source

fn early(param: &GenericParam<'_>) -> (LocalDefId, ResolvedArg)

source

fn late(idx: u32, param: &GenericParam<'_>) -> (LocalDefId, ResolvedArg)

source

fn id(&self) -> Option<LocalDefId>

source

fn shifted(self, amount: u32) -> ResolvedArg

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl RegionExt for ResolvedArg

Implementors§