Module formatter
Source - FmtCtx
- For formatting.
- DeclFormatter
- Provided some id, print the declaration (not simply its name).
- Formatter
Formatter
is a trait for converting objects to string.- IntoFormatter
- PushBinder
- We use this trait to update the context by pushing a group of bound regions.
- SetGenerics
- We use this trait with the formatter to update the context,
for instance when we enter a declaration that we need to print.
- SetLocals
- We use this trait with the formatter to update the context,
for instance when we enter a declaration that we need to print.
- AstFormatter