Struct rustc::middle::expr_use_visitor::ExprUseVisitorUnstable
[-] [+]
[src]
pub struct ExprUseVisitor<'d, 't, 'tcx, TYPER: 't> { // some fields omitted }
pub struct ExprUseVisitor<'d, 't, 'tcx, TYPER: 't> { // some fields omitted }
impl<'d, 't, 'tcx, TYPER: Typer<'tcx>> ExprUseVisitor<'d, 't, 'tcx, TYPER>
fn new(delegate: &'d mut Delegate<'tcx>, typer: &'t TYPER) -> ExprUseVisitor<'d, 't, 'tcx, TYPER>
fn walk_fn(&mut self, decl: &FnDecl, body: &Block)
fn consume_expr(&mut self, expr: &Expr)
fn walk_expr(&mut self, expr: &Expr)
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).