Struct rustc::middle::ty_fold::RegionEraserExperimental
[-]
[+]
[src]
pub struct RegionEraser<'a, 'tcx> {
// some fields omitted
}pub struct RegionEraser<'a, 'tcx> {
// some fields omitted
}impl<'a, 'tcx> TypeFolder<'tcx> for RegionEraser<'a, 'tcx>fn tcx<'a>(&'a self) -> &'a ctxt<'tcx>fn fold_region(&mut self, r: Region) -> Regionfn fold_ty(&mut self, t: t) -> tfn fold_mt(&mut self, t: &mt) -> mtfn fold_trait_ref(&mut self, t: &TraitRef) -> TraitReffn fold_sty(&mut self, sty: &sty) -> styfn fold_substs(&mut self, substs: &Substs) -> Substsfn fold_sig(&mut self, sig: &FnSig) -> FnSigfn fold_output(&mut self, output: &FnOutput) -> FnOutputfn fold_bare_fn_ty(&mut self, fty: &BareFnTy) -> BareFnTyfn fold_closure_ty(&mut self, fty: &ClosureTy) -> ClosureTyfn fold_trait_store(&mut self, s: TraitStore) -> TraitStorefn fold_existential_bounds(&mut self, s: ExistentialBounds) -> ExistentialBoundsfn fold_autoref(&mut self, ar: &AutoRef) -> AutoReffn fold_item_substs(&mut self, i: ItemSubsts) -> ItemSubstsfn fold_obligation(&mut self, o: &Obligation) -> Obligation
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).