fn line_start(&self, line: usize) -> usize {
        if line == 0 {
            0
        } else {
            self.inner.newlines.index(line - 1) + 1
        }
    }
/// Returns the position of the given line number's start. Line number
/// begins at `0`.
///
/// # Panics
/// Pancis if the given line does not exist.
Returns the position of the given line number's start. Line number
begins at `0`.
Returns the position of the given line number ' s start . Line number begins at ` 0 ` .
fn line_start(&self, line: usize) -> usize {
        if line == 0 {
            0
        } else {
            self.inner.newlines.index(line - 1) + 1
        }
    }
fn line_start ( & self , line : usize ) -> usize { if line == 0 { 0 } else { self . inner . newlines . index ( line - 1 ) + 1 } }
Returns the position of the given line number's start.
Returns the position of the given line number ' s start .
&self
line
usize
&self
line
usize
panics
Pancis if the given line does not exist.
Pancis if the given line does not exist .