Trait MutMirVisitor
Source pub trait MutMirVisitor {
Show 43 methods
// Provided methods
fn visit_body(&mut self, body: &mut Body) { ... }
fn visit_basic_block(&mut self, bb: &mut BasicBlock) { ... }
fn visit_ret_decl(&mut self, local: Local, decl: &mut LocalDecl) { ... }
fn visit_arg_decl(&mut self, local: Local, decl: &mut LocalDecl) { ... }
fn visit_local_decl(&mut self, local: Local, decl: &mut LocalDecl) { ... }
fn visit_statement(&mut self, stmt: &mut Statement, location: Location) { ... }
fn visit_terminator(&mut self, term: &mut Terminator, location: Location) { ... }
fn visit_span(&mut self, span: &mut Span) { ... }
fn visit_place(
&mut self,
place: &mut Place,
ptx: PlaceContext,
location: Location,
) { ... }
fn super_place(
&mut self,
place: &mut Place,
ptx: PlaceContext,
location: Location,
) { ... }
fn visit_projection_elem(
&mut self,
elem: &mut ProjectionElem,
ptx: PlaceContext,
location: Location,
) { ... }
fn super_projection_elem(
&mut self,
elem: &mut ProjectionElem,
ptx: PlaceContext,
location: Location,
) { ... }
fn visit_local(
&mut self,
local: &mut Local,
ptx: PlaceContext,
location: Location,
) { ... }
fn visit_rvalue(&mut self, rvalue: &mut Rvalue, location: Location) { ... }
fn visit_operand(&mut self, operand: &mut Operand, location: Location) { ... }
fn visit_user_type_projection(
&mut self,
projection: &mut UserTypeProjection,
) { ... }
fn visit_ty(&mut self, ty: &mut Ty, location: Location) { ... }
fn visit_const_operand(
&mut self,
constant: &mut ConstOperand,
location: Location,
) { ... }
fn visit_mir_const(&mut self, constant: &mut MirConst, location: Location) { ... }
fn visit_ty_const(&mut self, constant: &mut TyConst, location: Location) { ... }
fn visit_region(&mut self, region: &mut Region, location: Location) { ... }
fn visit_args(&mut self, args: &mut GenericArgs, location: Location) { ... }
fn visit_assert_msg(&mut self, msg: &mut AssertMessage, location: Location) { ... }
fn visit_var_debug_info(&mut self, var_debug_info: &mut VarDebugInfo) { ... }
fn super_body(&mut self, body: &mut Body) { ... }
fn super_basic_block(&mut self, bb: &mut BasicBlock) { ... }
fn super_local_decl(&mut self, local: Local, decl: &mut LocalDecl) { ... }
fn super_ret_decl(&mut self, local: Local, decl: &mut LocalDecl) { ... }
fn super_arg_decl(&mut self, local: Local, decl: &mut LocalDecl) { ... }
fn super_statement(&mut self, stmt: &mut Statement, location: Location) { ... }
fn super_terminator(&mut self, term: &mut Terminator, location: Location) { ... }
fn super_span(&mut self, span: &mut Span) { ... }
fn super_rvalue(&mut self, rvalue: &mut Rvalue, location: Location) { ... }
fn super_operand(&mut self, operand: &mut Operand, location: Location) { ... }
fn super_user_type_projection(
&mut self,
projection: &mut UserTypeProjection,
) { ... }
fn super_ty(&mut self, ty: &mut Ty) { ... }
fn super_const_operand(
&mut self,
constant: &mut ConstOperand,
location: Location,
) { ... }
fn super_mir_const(&mut self, constant: &mut MirConst, location: Location) { ... }
fn super_ty_const(&mut self, constant: &mut TyConst) { ... }
fn super_region(&mut self, region: &mut Region) { ... }
fn super_args(&mut self, args: &mut GenericArgs) { ... }
fn super_var_debug_info(&mut self, var_debug_info: &mut VarDebugInfo) { ... }
fn super_assert_msg(&mut self, msg: &mut AssertMessage, location: Location) { ... }
}