Struct rustfmt_nightly::ModifiedChunk
[−]
[src]
pub struct ModifiedChunk {
pub line_number_orig: u32,
pub lines_removed: u32,
pub lines: Vec<String>,
}A single span of changed lines, with 0 or more removed lines and a vector of 0 or more inserted lines.
Fields
line_number_orig: u32
The first to be removed from the original text
lines_removed: u32
The number of lines which have been replaced
lines: Vec<String>
The new lines
Trait Implementations
impl Debug for ModifiedChunk[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for ModifiedChunk[src]
fn eq(&self, __arg_0: &ModifiedChunk) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ModifiedChunk) -> bool[src]
This method tests for !=.