Skip to main content

Module visit

Module visit 

Source

Re-exportsยง

use super::AdtExpr; ๐Ÿ”’
use super::AdtExprBase; ๐Ÿ”’
use super::Arm; ๐Ÿ”’
use super::Block; ๐Ÿ”’
use super::ClosureExpr; ๐Ÿ”’
use super::Expr; ๐Ÿ”’
use super::ExprKind; ๐Ÿ”’
use super::InlineAsmExpr; ๐Ÿ”’
use super::InlineAsmOperand; ๐Ÿ”’
use super::Pat; ๐Ÿ”’
use super::PatKind; ๐Ÿ”’
use super::Stmt; ๐Ÿ”’
use super::StmtKind; ๐Ÿ”’
use super::Thir; ๐Ÿ”’
use crate::thir::LoopMatchMatchData; ๐Ÿ”’

Traitsยง

Visitor
Every walk_* method uses deconstruction to access fields of structs and enums. This will result in a compile error if a field is added, which makes it more likely the appropriate visit call will be added for it.

Functionsยง

for_each_immediate_subpat ๐Ÿ”’
Invokes callback on each immediate subpattern of pat, if any. A building block for assembling THIR pattern visitors.
walk_arm
walk_block
walk_expr
walk_pat
walk_stmt