Module rustc::middle::expr_use_visitorUnstable [-] [+] [src]

A different sort of visitor for walking fn bodies. Unlike the normal visitor, which just walks the entire body in one shot, the ExprUseVisitor determines how expressions are being used.

Reexports

pub use self::MutateMode::*;
pub use self::LoanCause::*;
pub use self::ConsumeMode::*;
pub use self::MoveReason::*;
pub use self::MatchMode::*;

Structs

ExprUseVisitor

Enums

ConsumeMode
LoanCause
MatchMode
MoveReason
MutateMode

Traits

Delegate

This trait defines the callbacks you can expect to receive when employing the ExprUseVisitor.