Struct rustc::middle::ty_fold::BottomUpFolder[src]

pub struct BottomUpFolder<'a> {
    pub tcx: &'a ctxt,
    pub fldop: |t|: 'a -> t,
}

Fields

tcx
fldop

Trait Implementations

impl<'a> TypeFolder for BottomUpFolder<'a>

fn tcx<'a>(&'a self) -> &'a ctxt

fn fold_ty(&mut self, ty: t) -> t

fn fold_mt(&mut self, t: &mt) -> mt

fn fold_trait_ref(&mut self, t: &TraitRef) -> TraitRef

fn fold_sty(&mut self, sty: &sty) -> sty

fn fold_substs(&mut self, substs: &Substs) -> Substs

fn fold_sig(&mut self, sig: &FnSig) -> FnSig

fn fold_bare_fn_ty(&mut self, fty: &BareFnTy) -> BareFnTy

fn fold_closure_ty(&mut self, fty: &ClosureTy) -> ClosureTy

fn fold_region(&mut self, r: Region) -> Region

fn fold_trait_store(&mut self, s: TraitStore) -> TraitStore

fn fold_autoref(&mut self, ar: &AutoRef) -> AutoRef

fn fold_item_substs(&mut self, i: ItemSubsts) -> ItemSubsts