Trait rustc::middle::ty_fold::HigherRankedFoldableExperimental [-]  [+] [src]

pub trait HigherRankedFoldable<'tcx>: Repr<'tcx> {
    fn fold_contents<F: TypeFolder<'tcx>>(&self, folder: &mut F) -> Self;
}

Designates a "binder" for late-bound regions.

Required Methods

fn fold_contents<F: TypeFolder<'tcx>>(&self, folder: &mut F) -> Self

Folds the contents of self, ignoring the region binder created by self.

Implementors