Struct rustc_middle::ty::fold::BottomUpFolder [−][src]
pub struct BottomUpFolder<'tcx, F, G, H> where
F: FnMut(Ty<'tcx>) -> Ty<'tcx>,
G: FnMut(Region<'tcx>) -> Region<'tcx>,
H: FnMut(&'tcx Const<'tcx>) -> &'tcx Const<'tcx>, { pub tcx: TyCtxt<'tcx>, pub ty_op: F, pub lt_op: G, pub ct_op: H, }
Fields
tcx: TyCtxt<'tcx>ty_op: Flt_op: Gct_op: HTrait Implementations
fn fold_binder<T>(&mut self, t: Binder<'tcx, T>) -> Binder<'tcx, T> where
T: TypeFoldable<'tcx>, Auto Trait Implementations
impl<'tcx, F, G, H> !RefUnwindSafe for BottomUpFolder<'tcx, F, G, H>impl<'tcx, F, G, H> !Send for BottomUpFolder<'tcx, F, G, H>impl<'tcx, F, G, H> !Sync for BottomUpFolder<'tcx, F, G, H>impl<'tcx, F, G, H> Unpin for BottomUpFolder<'tcx, F, G, H> where
F: Unpin,
G: Unpin,
H: Unpin, impl<'tcx, F, G, H> !UnwindSafe for BottomUpFolder<'tcx, F, G, H>Blanket Implementations
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.