Struct syntex_pos::LineInfo
[−]
[src]
pub struct LineInfo { pub line_index: usize, pub start_col: CharPos, pub end_col: CharPos, }
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 Eq for LineInfo
[src]
impl PartialEq for LineInfo
[src]
fn eq(&self, __arg_0: &LineInfo) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LineInfo) -> bool
This method tests for !=
.
impl Debug for LineInfo
[src]
impl Clone for LineInfo
[src]
fn clone(&self) -> LineInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more