rustfmt_nightly::formatting

Trait FormatHandler

source
trait FormatHandler {
    // Required method
    fn handle_formatted_file(
        &mut self,
        psess: &ParseSess,
        path: FileName,
        result: String,
        report: &mut FormatReport,
    ) -> Result<(), ErrorKind>;
}

Required Methods§

source

fn handle_formatted_file( &mut self, psess: &ParseSess, path: FileName, result: String, report: &mut FormatReport, ) -> Result<(), ErrorKind>

Implementors§

source§

impl<'b, T: Write + 'b> FormatHandler for Session<'b, T>