Module spirt::visit

source ·
Expand description

Immutable IR traversal.

Traits

  • Dynamic dispatch version of InnerVisit.
  • Trait implemented on “deeply visitable” types, to further “explore” a type by visiting its “interior” (i.e. variants and/or fields).
  • Trait implemented on “visitable” types (shallowly visitable, at least).