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