Struct rustfmt_nightly::rustfmt_diff::Mismatch [] [src]

pub struct Mismatch {
    pub line_number: u32,
    pub line_number_orig: u32,
    pub lines: Vec<DiffLine>,
}

Fields

The line number in the formatted version.

The line number in the original version.

The set of lines (context and old/new) in the mismatch.

Trait Implementations

impl Debug for Mismatch
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Mismatch
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for Mismatch

impl Sync for Mismatch