Struct rustfmt_nightly::FormatReport[][src]

pub struct FormatReport { /* fields omitted */ }

Reports on any issues that occurred during a run of Rustfmt.

Can be reported to the user via its Display implementation of print_fancy.

Methods

impl FormatReport
[src]

Whether any warnings or errors are present in the report.

Print the report to a terminal using colours and potentially other fancy output.

Trait Implementations

impl Clone for FormatReport
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for FormatReport
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for FormatReport

impl !Sync for FormatReport