pub fn generate( sources: &SourceDatabase, file: &File, custom_fields: &[String], ) -> String
Generate formatted Rust code from an AST.
The code is not formatted, pipe it through rustfmt to get readable source code.
rustfmt