Trait stable_mir::fold::Folder
source · pub trait Folder: Sized {
type Break;
// Provided methods
fn fold_ty(&mut self, ty: &Ty) -> ControlFlow<Self::Break, Ty> { ... }
fn fold_const(&mut self, c: &Const) -> ControlFlow<Self::Break, Const> { ... }
fn fold_reg(&mut self, reg: &Region) -> ControlFlow<Self::Break, Region> { ... }
}