Struct rustfmt_nightly::Summary [−][src]
pub struct Summary { pub has_diff: bool, // some fields omitted }
A summary of a Rustfmt run.
Fields
has_diff: bool
Formatted code differs from existing code (--check only).
Methods
impl Summary
[src]
impl Summary
pub fn has_operational_errors(&self) -> bool
[src]
pub fn has_operational_errors(&self) -> bool
pub fn has_parsing_errors(&self) -> bool
[src]
pub fn has_parsing_errors(&self) -> bool
pub fn has_formatting_errors(&self) -> bool
[src]
pub fn has_formatting_errors(&self) -> bool
pub fn has_check_errors(&self) -> bool
[src]
pub fn has_check_errors(&self) -> bool
pub fn add_operational_error(&mut self)
[src]
pub fn add_operational_error(&mut self)
pub fn has_no_errors(&self) -> bool
[src]
pub fn has_no_errors(&self) -> bool
pub fn add(&mut self, other: Summary)
[src]
pub fn add(&mut self, other: Summary)
Combine two summaries together.
Trait Implementations
impl Debug for Summary
[src]
impl Debug for Summary
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Summary
[src]
impl Default for Summary
impl Clone for Summary
[src]
impl Clone for Summary
fn clone(&self) -> Summary
[src]
fn clone(&self) -> Summary
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Summary
[src]
impl Copy for Summary