Struct rustfmt_nightly::config::summary::Summary
[−]
[src]
#[must_use]pub struct Summary { pub has_diff: bool, // some fields omitted }
Fields
has_diff: bool
Methods
impl Summary
[src]
pub fn mark_parse_time(&mut self)
[src]
pub fn mark_format_time(&mut self)
[src]
pub fn get_parse_time(&self) -> Option<Duration>
[src]
Returns the time it took to parse the source files in nanoseconds.
pub fn get_format_time(&self) -> Option<Duration>
[src]
Returns the time it took to go from the parsed AST to the formatted output. Parsing time is not included.
pub fn has_operational_errors(&self) -> bool
[src]
pub fn has_parsing_errors(&self) -> bool
[src]
pub fn has_formatting_errors(&self) -> bool
[src]
pub fn add_operational_error(&mut self)
[src]
pub fn add_parsing_error(&mut self)
[src]
pub fn add_formatting_error(&mut self)
[src]
pub fn add_diff(&mut self)
[src]
pub fn has_no_errors(&self) -> bool
[src]
pub fn add(&mut self, other: Summary)
[src]
pub fn print_exit_codes()
[src]
Trait Implementations
impl Debug for Summary
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Default for Summary
[src]
impl Clone for Summary
[src]
fn clone(&self) -> Summary
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more