Trait stable_mir::visitor::Visitor
source · pub trait Visitor: Sized {
type Break;
// Provided methods
fn visit_ty(&mut self, ty: &Ty) -> ControlFlow<Self::Break> { ... }
fn visit_const(&mut self, c: &TyConst) -> ControlFlow<Self::Break> { ... }
fn visit_reg(&mut self, reg: &Region) -> ControlFlow<Self::Break> { ... }
}
Required Associated Types§
Provided Methods§
fn visit_ty(&mut self, ty: &Ty) -> ControlFlow<Self::Break>
fn visit_const(&mut self, c: &TyConst) -> ControlFlow<Self::Break>
fn visit_reg(&mut self, reg: &Region) -> ControlFlow<Self::Break>
Object Safety§
This trait is not object safe.