Trait rustfmt_nightly::emitter::Emitter
source · pub(crate) trait Emitter {
fn emit_formatted_file(
&mut self,
output: &mut dyn Write,
formatted_file: FormattedFile<'_>
) -> Result<EmitterResult, Error>;
fn emit_header(&self, _output: &mut dyn Write) -> Result<(), Error> { ... }
fn emit_footer(&self, _output: &mut dyn Write) -> Result<(), Error> { ... }
}
Required Methods
sourcefn emit_formatted_file(