Struct rustfmt_core::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

The first to be removed from the original text

The number of lines which have been replaced

The new lines

Trait Implementations

impl Debug for ModifiedChunk
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for ModifiedChunk
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for ModifiedChunk
[src]

Auto Trait Implementations

impl Send for ModifiedChunk

impl Sync for ModifiedChunk