trait RegionExt {
    // Required methods
    fn early(param: &GenericParam<'_>) -> (LocalDefId, ResolvedArg);
    fn late(idx: 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(idx: u32, param: &GenericParam<'_>) -> (LocalDefId, ResolvedArg)

source

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

source

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

Object Safety§

This trait is not object safe.

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§