fn try_line_start(&self, line: usize) -> Option<usize> {
        if line == 0 {
            Some(0)
        } else {
            self.inner.newlines.get(line - 1).map(|position| position + 1)
        }
    }
/// Returns the position of the given line number's start. Line number
/// begins at `0`, returning `None` on invalid line number.
Returns the position of the given line number's start. Line number
begins at `0`, returning `None` on invalid line number.
Returns the position of the given line number ' s start . Line number begins at ` 0 ` returning ` None ` on invalid line number .
fn try_line_start(&self, line: usize) -> Option<usize> {
        if line == 0 {
            Some(0)
        } else {
            self.inner.newlines.get(line - 1).map(|position| position + 1)
        }
    }
fn try_line_start ( & self , line : usize ) -> Option < usize > { if line == 0 { Some ( 0 ) } else { self . inner . newlines . get ( line - 1 ) . map ( | position | position + 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