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]
impl Clone for Pos
fn clone(&self) -> Pos
[src]
fn clone(&self) -> Pos
Returns 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 Pos
[src]
impl Debug for Pos
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for Pos
[src]
impl Display for Pos