Struct quire::Pos
[−]
[src]
pub struct Pos { pub filename: Rc<String>, pub indent: usize, pub line: usize, pub line_start: bool, pub line_offset: usize, pub offset: usize, }
Source code position
Fields
filename: Rc<String>
indent: usize
line: usize
line_start: bool
line_offset: usize
offset: usize
Trait Implementations
impl Clone for Pos
[src]
fn clone(&self) -> Pos
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
impl Debug for Pos
[src]
impl Display for Pos
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), FormatError>
Formats the value using the given formatter.