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

Required Methods§

source

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

source

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

source

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

source

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

Implementations on Foreign Types§

source§

impl RegionExt for ResolvedArg

source§

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

source§

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

source§

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

source§

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

Implementors§