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 ofpat
, if any. A building block for assembling THIR pattern visitors. - walk_
arm - walk_
block - walk_
expr - walk_
pat - walk_
stmt