Struct rustfmt_config::file_lines::LineRange [] [src]

pub struct LineRange {
    pub file: Rc<FileMap>,
    pub lo: usize,
    pub hi: usize,
}

A range of lines in a file, inclusive of both ends.

Fields

Methods

impl LineRange
[src]

[src]

Trait Implementations

impl<'a> From<&'a LineRange> for Range
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl !Send for LineRange

impl !Sync for LineRange