[−][src]Trait rustc_typeck::expr_use_visitor::Delegate
This trait defines the callbacks you can expect to receive when employing the ExprUseVisitor.
Required methods
pub fn consume(
&mut self,
place_with_id: &PlaceWithHirId<'tcx>,
diag_expr_id: HirId,
mode: ConsumeMode
)[src]
&mut self,
place_with_id: &PlaceWithHirId<'tcx>,
diag_expr_id: HirId,
mode: ConsumeMode
)
pub fn borrow(
&mut self,
place_with_id: &PlaceWithHirId<'tcx>,
diag_expr_id: HirId,
bk: BorrowKind
)[src]
&mut self,
place_with_id: &PlaceWithHirId<'tcx>,
diag_expr_id: HirId,
bk: BorrowKind
)
pub fn mutate(
&mut self,
assignee_place: &PlaceWithHirId<'tcx>,
diag_expr_id: HirId
)[src]
&mut self,
assignee_place: &PlaceWithHirId<'tcx>,
diag_expr_id: HirId
)
Implementors
impl<'a, 'tcx> Delegate<'tcx> for InferBorrowKind<'a, 'tcx>[src]
pub fn consume(
&mut self,
place_with_id: &PlaceWithHirId<'tcx>,
diag_expr_id: HirId,
mode: ConsumeMode
)[src]
&mut self,
place_with_id: &PlaceWithHirId<'tcx>,
diag_expr_id: HirId,
mode: ConsumeMode
)
pub fn borrow(
&mut self,
place_with_id: &PlaceWithHirId<'tcx>,
diag_expr_id: HirId,
bk: BorrowKind
)[src]
&mut self,
place_with_id: &PlaceWithHirId<'tcx>,
diag_expr_id: HirId,
bk: BorrowKind
)
pub fn mutate(
&mut self,
assignee_place: &PlaceWithHirId<'tcx>,
diag_expr_id: HirId
)[src]
&mut self,
assignee_place: &PlaceWithHirId<'tcx>,
diag_expr_id: HirId
)