Source code formatter class. Used to collect source code to be written to a file, and keep track of indentation.
Increase current indentation level by one.
Decrease indentation by one level.
Get the current whitespace indentation in the form of a String.
Add an indented line.
Pushes an empty line.
self.lines to a file.
Add one or more lines after stripping common indentation.
Add a comment line.
Add a (multi-line) documentation comment.
Add a match expression.
Auto Trait Implementations§
Returns the argument unchanged.