Struct syntax_pos::LineInfo [−][src]
Fields
line_index: usize
Index of line, starting from 0.
start_col: CharPos
Column in line where span begins, starting from 0.
end_col: CharPos
Column in line where span ends, starting from 0, exclusive.
Trait Implementations
impl Copy for LineInfo[src]
impl Copy for LineInfoimpl Clone for LineInfo[src]
impl Clone for LineInfofn clone(&self) -> LineInfo[src]
fn clone(&self) -> LineInfoReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for LineInfo[src]
impl Debug for LineInfofn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for LineInfo[src]
impl PartialEq for LineInfofn eq(&self, other: &LineInfo) -> bool[src]
fn eq(&self, other: &LineInfo) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &LineInfo) -> bool[src]
fn ne(&self, other: &LineInfo) -> boolThis method tests for !=.
impl Eq for LineInfo[src]
impl Eq for LineInfo