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

pub trait Subst {
    fn subst_spanned(&self, tcx: &ctxt, substs: &Substs, span: Option<Span>) -> Self;

    fn subst(&self, tcx: &ctxt, substs: &Substs) -> Self { ... }
}

Required Methods

fn subst_spanned(&self, tcx: &ctxt, substs: &Substs, span: Option<Span>) -> Self

Provided Methods

fn subst(&self, tcx: &ctxt, substs: &Substs) -> Self

Implementors