Trait rustc_middle::ty::subst::Subst[][src]

pub trait Subst<'tcx>: Sized {
    fn subst_spanned(
        self,
        tcx: TyCtxt<'tcx>,
        substs: &[GenericArg<'tcx>],
        span: Option<Span>
    ) -> Self; fn subst(self, tcx: TyCtxt<'tcx>, substs: &[GenericArg<'tcx>]) -> Self { ... } }

Required methods

Provided methods

Implementors