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

pub trait Subst<'tcx>: Sized {
    fn subst_spanned<'a, 'gcx>(&self, tcx: TyCtxt<'a, 'gcx, 'tcx>, substs: &Substs<'tcx>, span: Option<Span>) -> Self;

    fn subst<'a, 'gcx>(&self, tcx: TyCtxt<'a, 'gcx, 'tcx>, substs: &Substs<'tcx>) -> Self { ... }
}
Unstable (rustc_private)

Required Methods

fn subst_spanned<'a, 'gcx>(&self, tcx: TyCtxt<'a, 'gcx, 'tcx>, substs: &Substs<'tcx>, span: Option<Span>) -> Self

Unstable (rustc_private)

Provided Methods

fn subst<'a, 'gcx>(&self, tcx: TyCtxt<'a, 'gcx, 'tcx>, substs: &Substs<'tcx>) -> Self

Unstable (rustc_private)

Implementors